From 53feed592095c415fd402b9dbb442e242797a2ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 10 Jan 2026 15:10:18 +0900 Subject: [PATCH] Bump libc from 0.2.179 to 0.2.180 (#6683) * Bump libc from 0.2.179 to 0.2.180 Bumps [libc](https://github.com/rust-lang/libc) from 0.2.179 to 0.2.180. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.180/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.179...0.2.180) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.180 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix musl compatibility in libc 0.2.180 bump (#6684) * Bump libc from 0.2.179 to 0.2.180 Bumps [libc](https://github.com/rust-lang/libc) from 0.2.179 to 0.2.180. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.180/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.179...0.2.180) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.180 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Initial plan * Revert os.rs changes by removing newly added files Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> * Fix musl compatibility by removing target_env musl from cfg Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/vm/src/stdlib/os.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2694e65e2..f922088ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1681,9 +1681,9 @@ checksum = "2c4a545a15244c7d945065b5d392b2d2d7f21526fba56ce51467b06ed445e8f7" [[package]] name = "libc" -version = "0.2.179" +version = "0.2.180" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f" +checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" [[package]] name = "libffi" diff --git a/Cargo.toml b/Cargo.toml index 13bf531bc..a40744841 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -167,7 +167,7 @@ insta = "1.46" itertools = "0.14.0" is-macro = "0.3.7" junction = "1.3.0" -libc = "0.2.179" +libc = "0.2.180" libffi = "5" log = "0.4.29" nix = { version = "0.30", features = ["fs", "user", "process", "term", "time", "signal", "ioctl", "socket", "sched", "zerocopy", "dir", "hostname", "net", "poll"] } diff --git a/crates/vm/src/stdlib/os.rs b/crates/vm/src/stdlib/os.rs index 415097b90..00f2aea1d 100644 --- a/crates/vm/src/stdlib/os.rs +++ b/crates/vm/src/stdlib/os.rs @@ -918,7 +918,7 @@ pub(super) mod _os { fn from_stat(stat: &StatStruct, vm: &VirtualMachine) -> Self { let (atime, mtime, ctime); #[cfg(any(unix, windows))] - #[cfg(not(any(target_os = "netbsd", target_os = "wasi", target_env = "musl")))] + #[cfg(not(any(target_os = "netbsd", target_os = "wasi")))] { atime = (stat.st_atime, stat.st_atime_nsec); mtime = (stat.st_mtime, stat.st_mtime_nsec); @@ -930,7 +930,7 @@ pub(super) mod _os { mtime = (stat.st_mtime, stat.st_mtimensec); ctime = (stat.st_ctime, stat.st_ctimensec); } - #[cfg(any(target_os = "wasi", target_env = "musl"))] + #[cfg(target_os = "wasi")] { atime = (stat.st_atim.tv_sec, stat.st_atim.tv_nsec); mtime = (stat.st_mtim.tv_sec, stat.st_mtim.tv_nsec);