diff options
| author | Collin Baker <collinbaker@chromium.org> | 2022-11-21 16:43:34 -0500 |
|---|---|---|
| committer | Collin Baker <collinbaker@chromium.org> | 2022-11-21 16:43:34 -0500 |
| commit | 426296ecc3a4faa80f07fd34ea1a836feb804a04 (patch) | |
| tree | b8ca3c10a2f29704488425ee6fe83ff3a984ba46 | |
| parent | 1cbc45942d5c0f6eb5d94e3b10762ba541958035 (diff) | |
| download | rust-426296ecc3a4faa80f07fd34ea1a836feb804a04.tar.gz rust-426296ecc3a4faa80f07fd34ea1a836feb804a04.zip | |
Update test's cfg-if dependency to 1.0
This change was mistakenly left out of #103367
| -rw-r--r-- | Cargo.lock | 6 | ||||
| -rw-r--r-- | library/test/Cargo.toml | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock index fb6140e74fe..b8ec667fda2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -498,10 +498,6 @@ name = "cfg-if" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" -dependencies = [ - "compiler_builtins", - "rustc-std-workspace-core", -] [[package]] name = "cfg-if" @@ -4934,7 +4930,7 @@ dependencies = [ name = "test" version = "0.0.0" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "core", "getopts", "libc", diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml index 2da41484ca5..61b6f33bce0 100644 --- a/library/test/Cargo.toml +++ b/library/test/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" crate-type = ["dylib", "rlib"] [dependencies] -cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] } +cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] } getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] } std = { path = "../std" } core = { path = "../core" } |
