diff options
| -rw-r--r-- | library/std/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 52729ba1f84..1720fe84fa7 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -31,10 +31,11 @@ miniz_oxide = { version = "0.7.0", optional = true, default-features = false } addr2line = { version = "0.21.0", optional = true, default-features = false } [target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] -libc = { version = "0.2.153", default-features = false, features = ['rustc-dep-of-std'], public = true } +libc = { version = "=0.2.153", default-features = false, features = ['rustc-dep-of-std'], public = true } +# Pin libc (pending https://github.com/rust-lang/rust/pull/124560) [target.'cfg(all(windows, target_env = "msvc"))'.dependencies] -libc = { version = "0.2.153", default-features = false } +libc = { version = "=0.2.153", default-features = false } [target.'cfg(all(not(target_os = "aix"), not(all(windows, target_env = "msvc", not(target_vendor = "uwp")))))'.dependencies] object = { version = "0.32.0", default-features = false, optional = true, features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive'] } |
