diff --git a/src/uu/test/src/test.rs b/src/uu/test/src/test.rs index 41f56d793..2efa4b477 100644 --- a/src/uu/test/src/test.rs +++ b/src/uu/test/src/test.rs @@ -17,7 +17,7 @@ use std::fs; use std::os::unix::fs::MetadataExt; use uucore::display::Quotable; use uucore::error::{UResult, USimpleError}; -#[cfg(not(windows))] +#[cfg(not(any(windows, target_os = "redox")))] use uucore::process::{getegid, geteuid}; use uucore::{format_usage, help_about, help_section};