Skip to content

Commit 34c9f8c

Browse files
authored
remove any from cfgs
1 parent 1dd2d30 commit 34c9f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sys/unix/process/process_unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ impl Command {
178178
cvt_r(|| libc::dup2(fd, libc::STDERR_FILENO))?;
179179
}
180180

181-
#[cfg(not(any(target_os = "l4re")))]
181+
#[cfg(not(target_os = "l4re"))]
182182
{
183183
if let Some(u) = self.get_gid() {
184184
cvt(libc::setgid(u as gid_t))?;
@@ -202,7 +202,7 @@ impl Command {
202202
}
203203

204204
// emscripten has no signal support.
205-
#[cfg(not(any(target_os = "emscripten")))]
205+
#[cfg(not(target_os = "emscripten"))]
206206
{
207207
use crate::mem::MaybeUninit;
208208
// Reset signal handling so the child process starts in a

0 commit comments

Comments
 (0)