remove any from cfgs

This commit is contained in:
Artyom Pavlov 2019-08-19 20:02:50 +00:00 committed by GitHub
parent 1dd2d3076d
commit 34c9f8c649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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