From 63b4eb5aa79889ff02cc0c6de72e779613e16018 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Tue, 9 Aug 2022 21:41:51 +0900 Subject: [PATCH] Patch crossbeam-epoch to avoid overhead (#26555) (cherry picked from commit ad3e10f3bdd61cc53b31ea18880c58075431de6d) --- Cargo.lock | 3 +-- Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f20a8693b83961..4c669180b89cd9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -995,8 +995,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" }