From 275bfbf822f29b15a4a06852a8d562a71acd3229 Mon Sep 17 00:00:00 2001 From: Josh Megnauth Date: Mon, 20 Jul 2026 22:25:50 -0400 Subject: [PATCH] Fix building against new libc --- crates/host_env/src/posix.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/host_env/src/posix.rs b/crates/host_env/src/posix.rs index 150df505c42..e20accee715 100644 --- a/crates/host_env/src/posix.rs +++ b/crates/host_env/src/posix.rs @@ -1424,8 +1424,9 @@ fn build_posix_spawn_attrs( target_os = "hurd", ))] { + #[allow(clippy::useless_conversion)] flags.insert(nix::spawn::PosixSpawnFlags::from_bits_retain( - libc::POSIX_SPAWN_SETSID, + libc::POSIX_SPAWN_SETSID.into(), )); } #[cfg(not(any(