about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2024-05-11 10:24:30 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2024-05-11 10:25:37 -0400
commit3aa16f0d2f0430082c7f2907076bcf8563cff308 (patch)
tree2835d4c56ab2c58d3e4f46aaedba39bb9ce4a325
parente068e004d7a3311a44f676b975c7ce4213eda3b2 (diff)
downloadrust-3aa16f0d2f0430082c7f2907076bcf8563cff308.tar.gz
rust-3aa16f0d2f0430082c7f2907076bcf8563cff308.zip
Pin libc back to 0.2.153
-rw-r--r--library/std/Cargo.toml5
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'] }