Fix building against new libc (#8343)

This commit is contained in:
Joshua Megnauth authored and GitHub committed 2026-07-22 20:27:19 +09:00
1 parent 1ed9bb959a
commit cd3469fd95
1 file changed
+2 -1
+2 -1
View File
@@ -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(