From 8cb2b9b7108a650272645b6ba15dfbddcb2c0426 Mon Sep 17 00:00:00 2001 From: Jonathan Keljo Date: Fri, 20 Nov 2020 16:58:47 -0800 Subject: [PATCH] Work around lru-disk-cache UB in Rust 1.48 Summary: `lru-disk-cache` depends on an old version of `linked-hash-map` which contains UB in 1.48 (see https://github.com/mozilla/sccache/issues/813). They updated the deps in their repo months ago, but haven't pushed a new version. This diff makes us get `lru-disk-cache` directly from their GitHub instead. Reviewed By: dtolnay Differential Revision: D25134582 fbshipit-source-id: 05fd63a76b7095ebeea458645b92a83bbd8c4614 --- eden/mononoke/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/eden/mononoke/Cargo.toml b/eden/mononoke/Cargo.toml index 4c46cff8c930a..95b7af4b50bca 100644 --- a/eden/mononoke/Cargo.toml +++ b/eden/mononoke/Cargo.toml @@ -380,6 +380,7 @@ chashmap = { git = "https://gitlab.redox-os.org/ahornby/chashmap", rev = "901ace const-random = { git = "https://github.com/fbsource/const-random", rev = "374c5b46427fe2ffbf6acbd9c1687e0f1a809f95" } gotham = { git = "https://github.com/krallin/gotham.git", branch = "socket_data" } gotham_derive = { git = "https://github.com/krallin/gotham.git", branch = "socket_data" } +lru-disk-cache = { git = "https://github.com/mozilla/sccache", rev = "033ebaae69beeb0ac04e8c35d6ff1103487bd9a3" } prost = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } prost-build = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } prost-derive = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" }