mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-06 21:53:46 +00:00
remove any from cfgs
This commit is contained in:
parent
1dd2d3076d
commit
34c9f8c649
@ -178,7 +178,7 @@ impl Command {
|
||||
cvt_r(|| libc::dup2(fd, libc::STDERR_FILENO))?;
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "l4re")))]
|
||||
#[cfg(not(target_os = "l4re"))]
|
||||
{
|
||||
if let Some(u) = self.get_gid() {
|
||||
cvt(libc::setgid(u as gid_t))?;
|
||||
@ -202,7 +202,7 @@ impl Command {
|
||||
}
|
||||
|
||||
// emscripten has no signal support.
|
||||
#[cfg(not(any(target_os = "emscripten")))]
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
{
|
||||
use crate::mem::MaybeUninit;
|
||||
// Reset signal handling so the child process starts in a
|
||||
|
Loading…
Reference in New Issue
Block a user