test: fix "unused imports" warning on Redox

This commit is contained in:
Daniel Hofstetter
2024-09-14 09:36:18 +02:00
committed by Sylvestre Ledru
parent 8a9fb84a8e
commit 4fb68119a8
+1 -1
View File
@@ -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};