1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Merge pull request #5930 from cakebaker/test_fix_unused_import_on_redox

test: fix "unused imports" warning on Redox
This commit is contained in:
Sylvestre Ledru 2024-09-17 11:27:39 +02:00 committed by GitHub
commit 39bfa40acf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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};