Skip to content

Commit

Permalink
remove any from cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 19, 2019
1 parent 1dd2d30 commit 34c9f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/sys/unix/process/process_unix.rs
Expand Up @@ -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))?;
Expand All @@ -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
Expand Down

0 comments on commit 34c9f8c

Please sign in to comment.