Skip to content

Commit 3aa16f0

Browse files
Pin libc back to 0.2.153
1 parent e068e00 commit 3aa16f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

library/std/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ miniz_oxide = { version = "0.7.0", optional = true, default-features = false }
3131
addr2line = { version = "0.21.0", optional = true, default-features = false }
3232

3333
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
34-
libc = { version = "0.2.153", default-features = false, features = ['rustc-dep-of-std'], public = true }
34+
libc = { version = "=0.2.153", default-features = false, features = ['rustc-dep-of-std'], public = true }
3535

36+
# Pin libc (pending https://github.com/rust-lang/rust/pull/124560)
3637
[target.'cfg(all(windows, target_env = "msvc"))'.dependencies]
37-
libc = { version = "0.2.153", default-features = false }
38+
libc = { version = "=0.2.153", default-features = false }
3839

3940
[target.'cfg(all(not(target_os = "aix"), not(all(windows, target_env = "msvc", not(target_vendor = "uwp")))))'.dependencies]
4041
object = { version = "0.32.0", default-features = false, optional = true, features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive'] }

0 commit comments

Comments
 (0)