Skip to content

Commit 529d2f2

Browse files
committed
Auto merge of rust-lang#124560 - madsmtm:update-libc, r=Mark-Simulacrum
Update libc to 0.2.155 Motivation: To fix `-Zbuild-std` / Xargo for visionOS targets. EDIT: Blocked on ~rust-lang/libc#3608 / rust-lang/libc#3609 ~rust-lang/libc#3682 and rust-lang/libc#3690 No longer blocked.
2 parents cc937f3 + 561b61a commit 529d2f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

std/Cargo.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ 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)
3736
[target.'cfg(all(windows, target_env = "msvc"))'.dependencies]
38-
libc = { version = "=0.2.153", default-features = false }
37+
libc = { version = "0.2.153", default-features = false }
3938

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

0 commit comments

Comments
 (0)