From 17369f3e3a501c6177d17016cdc09b22b54e7f1c Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Mon, 11 Jul 2022 22:00:14 +0900 Subject: [PATCH] Patch crossbeam-epoch to avoid overhead --- Cargo.lock | 3 +-- Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a029a2ed106e9..c74327ff39fc84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1007,8 +1007,7 @@ dependencies = [ [[package]] name = "crossbeam-epoch" version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +source = "git+https://github.com/solana-labs/crossbeam?rev=fd279d707025f0e60951e429bf778b4813d1b6bf#fd279d707025f0e60951e429bf778b4813d1b6bf" dependencies = [ "cfg-if 1.0.0", "crossbeam-utils", diff --git a/Cargo.toml b/Cargo.toml index 9aad90aeb4f175..d54b9f1bec20e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -94,3 +94,7 @@ exclude = [ # This prevents a Travis CI error when building for Windows. resolver = "2" + +# for details, see https://github.com/solana-labs/crossbeam/commit/fd279d707025f0e60951e429bf778b4813d1b6bf +[patch.crates-io] +crossbeam-epoch = { git = "https://github.com/solana-labs/crossbeam", rev = "fd279d707025f0e60951e429bf778b4813d1b6bf" }