Skip to content

Commit cd3469f

Browse files
Fix building against new libc (#8343)
1 parent 1ed9bb9 commit cd3469f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎crates/host_env/src/posix.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,8 +1424,9 @@ fn build_posix_spawn_attrs(
14241424
target_os = "hurd",
14251425
))]
14261426
{
1427+
#[allow(clippy::useless_conversion)]
14271428
flags.insert(nix::spawn::PosixSpawnFlags::from_bits_retain(
1428-
libc::POSIX_SPAWN_SETSID,
1429+
libc::POSIX_SPAWN_SETSID.into(),
14291430
));
14301431
}
14311432
#[cfg(not(any(

0 commit comments

Comments
 (0)