Skip to content

Commit b2af3d1

Browse files
authored
Rollup merge of #103367 - chbaker0:update-std-getrandom, r=thomcc
Remove std's transitive dependency on cfg-if 0.1 After rust-lang/rust#101946 this completes the move to cfg-if 1.0 by: * Updating getrandom 0.1.14->0.1.16 * Updating panic_abort's and unwind's dep to cfg-if 1.0 Fixes rust-lang/rust#103365
2 parents cd2e480 + 0f23b92 commit b2af3d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

panic_abort/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ doc = false
1313

1414
[dependencies]
1515
alloc = { path = "../alloc" }
16-
cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] }
16+
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
1717
core = { path = "../core" }
1818
libc = { version = "0.2", default-features = false }
1919
compiler_builtins = "0.1.0"

panic_unwind/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ core = { path = "../core" }
1717
libc = { version = "0.2", default-features = false }
1818
unwind = { path = "../unwind" }
1919
compiler_builtins = "0.1.0"
20-
cfg-if = "0.1.8"
20+
cfg-if = "1.0"

unwind/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ doc = false
1717
core = { path = "../core" }
1818
libc = { version = "0.2.79", features = ['rustc-dep-of-std'], default-features = false }
1919
compiler_builtins = "0.1.0"
20-
cfg-if = "0.1.8"
20+
cfg-if = "1.0"
2121

2222
[build-dependencies]
2323
cc = "1.0.69"

0 commit comments

Comments
 (0)