From 24d5a0b1fd92974e2075d0da6540641ff59f5894 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 5 Jan 2026 09:28:03 -0800 Subject: [PATCH] Update libc dependency of std This commit updates the standard library's dependency on libc from 0.2.178 to 0.2.179. This is intended to resolve a minor issue on the WASI targets in some niche situations where 0.2.178 had definitions which didn't actually exist and this caused issues in some compiler configurations related to dynamic linking. --- library/Cargo.lock | 4 ++-- library/std/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Cargo.lock b/library/Cargo.lock index 5e49843dae062..71cb36be41c9c 100644 --- a/library/Cargo.lock +++ b/library/Cargo.lock @@ -146,9 +146,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.178" +version = "0.2.179" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" +checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f" dependencies = [ "rustc-std-workspace-core", ] diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 43caf7734fdbd..997adef2d1f20 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -33,7 +33,7 @@ miniz_oxide = { version = "0.8.0", optional = true, default-features = false } addr2line = { version = "0.25.0", optional = true, default-features = false } [target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] -libc = { version = "0.2.178", default-features = false, features = [ +libc = { version = "0.2.179", default-features = false, features = [ 'rustc-dep-of-std', ], public = true }