Skip to content

Commit d00ebea

Browse files
committed
Experiment: Switch to a cfg-if that does not depend on compiler_Builtins
(cherry picked from commit 6b0ae3b)
1 parent a529e53 commit d00ebea

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

library/Cargo.lock

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ dependencies = [
5151

5252
[[package]]
5353
name = "cfg-if"
54-
version = "1.0.0"
55-
source = "registry+https://github.com/rust-lang/crates.io-index"
56-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54+
version = "1.0.1"
55+
source = "git+https://github.com/tgross35/cfg-if.git?branch=no-compiler-builtins#91c07fb51b83c24c65383d82a2f7a46e55b4ce39"
5756
dependencies = [
58-
"compiler_builtins 0.1.160 (registry+https://github.com/rust-lang/crates.io-index)",
5957
"rustc-std-workspace-core",
6058
]
6159

library/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ rustc-demangle.opt-level = "s"
5050
rustc-std-workspace-core = { path = 'rustc-std-workspace-core' }
5151
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' }
5252
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' }
53+
cfg-if = { git = "https://github.com/tgross35/cfg-if.git", branch = "no-compiler-builtins"}

0 commit comments

Comments
 (0)