diff --git a/Cargo.lock b/Cargo.lock index 1e48ea39de..c1ec9c1433 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1444,8 +1444,7 @@ checksum = "442887c63f2c839b346c192d047a7c87e73d0689c9157b00b53dcc27dd5ea793" [[package]] name = "volatile" version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b214e6480cbaa16049d2f256268b51732a8d1e5507ac56392990604c7c71d936" +source = "git+https://github.com/mkroening/volatile.git?branch=borrow-ref#996cab9035bcecad3f58d897b5286d08b05a76f9" [[package]] name = "wait-timeout" diff --git a/Cargo.toml b/Cargo.toml index bf5fbeadcb..8d5dc8f99c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -159,3 +159,6 @@ members = [ exclude = [ "hermit-builtins", ] + +[patch.crates-io] +volatile = { git = "https://github.com/mkroening/volatile.git", branch = "borrow-ref" }