Skip to content

Commit 04e8ebe

Browse files
authored
Rollup merge of rust-lang#104692 - chbaker0:libtest-cfg-if, r=thomcc
Update test's cfg-if dependency to 1.0 This change was mistakenly left out of rust-lang#103367 Finishes rust-lang#103365
2 parents 816a31f + 426296e commit 04e8ebe

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Cargo.lock

+1-5
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,6 @@ name = "cfg-if"
498498
version = "0.1.10"
499499
source = "registry+https://github.com/rust-lang/crates.io-index"
500500
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
501-
dependencies = [
502-
"compiler_builtins",
503-
"rustc-std-workspace-core",
504-
]
505501

506502
[[package]]
507503
name = "cfg-if"
@@ -4934,7 +4930,7 @@ dependencies = [
49344930
name = "test"
49354931
version = "0.0.0"
49364932
dependencies = [
4937-
"cfg-if 0.1.10",
4933+
"cfg-if 1.0.0",
49384934
"core",
49394935
"getopts",
49404936
"libc",

library/test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
crate-type = ["dylib", "rlib"]
88

99
[dependencies]
10-
cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] }
10+
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
1111
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
1212
std = { path = "../std" }
1313
core = { path = "../core" }

0 commit comments

Comments
 (0)