From 4fb68119a82cf8fc41ccf83bef4e694e8412908b Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 1 Feb 2024 17:06:22 +0100 Subject: [PATCH] test: fix "unused imports" warning on Redox --- src/uu/test/src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};