Skip to content

Commit dfab01b

Browse files
committed
Remove std's transitive dependency on cfg-if 0.1
After rust-lang#101946 this completes the move to cfg-if 1.0 by: * Updating getrandom 0.1.14->0.1.16 * Updating panic_abort, panic_unwind, and unwind to cfg-if 1.0
1 parent edf0182 commit dfab01b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Cargo.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1526,11 +1526,11 @@ dependencies = [
15261526

15271527
[[package]]
15281528
name = "getrandom"
1529-
version = "0.1.14"
1529+
version = "0.1.16"
15301530
source = "registry+https://github.com/rust-lang/crates.io-index"
1531-
checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
1531+
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
15321532
dependencies = [
1533-
"cfg-if 0.1.10",
1533+
"cfg-if 1.0.0",
15341534
"libc",
15351535
"wasi 0.9.0+wasi-snapshot-preview1",
15361536
]
@@ -2478,7 +2478,7 @@ name = "panic_abort"
24782478
version = "0.0.0"
24792479
dependencies = [
24802480
"alloc",
2481-
"cfg-if 0.1.10",
2481+
"cfg-if 1.0.0",
24822482
"compiler_builtins",
24832483
"core",
24842484
"libc",
@@ -2489,7 +2489,7 @@ name = "panic_unwind"
24892489
version = "0.0.0"
24902490
dependencies = [
24912491
"alloc",
2492-
"cfg-if 0.1.10",
2492+
"cfg-if 1.0.0",
24932493
"compiler_builtins",
24942494
"core",
24952495
"libc",
@@ -2817,7 +2817,7 @@ version = "0.7.3"
28172817
source = "registry+https://github.com/rust-lang/crates.io-index"
28182818
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
28192819
dependencies = [
2820-
"getrandom 0.1.14",
2820+
"getrandom 0.1.16",
28212821
"libc",
28222822
"rand_chacha 0.2.2",
28232823
"rand_core 0.5.1",
@@ -2861,7 +2861,7 @@ version = "0.5.1"
28612861
source = "registry+https://github.com/rust-lang/crates.io-index"
28622862
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
28632863
dependencies = [
2864-
"getrandom 0.1.14",
2864+
"getrandom 0.1.16",
28652865
]
28662866

28672867
[[package]]
@@ -5357,7 +5357,7 @@ name = "unwind"
53575357
version = "0.0.0"
53585358
dependencies = [
53595359
"cc",
5360-
"cfg-if 0.1.10",
5360+
"cfg-if 1.0.0",
53615361
"compiler_builtins",
53625362
"core",
53635363
"libc",

library/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"

library/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"

library/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)