mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix building against new libc (#8343)
This commit is contained in:
1 parent
1ed9bb959a
commit
cd3469fd95
1 file changed
+2
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user