diff --git a/tests/by-util/test_uptime.rs b/tests/by-util/test_uptime.rs index b7b4fa935..1fd65f9d6 100644 --- a/tests/by-util/test_uptime.rs +++ b/tests/by-util/test_uptime.rs @@ -12,16 +12,16 @@ use uutests::new_ucmd; use uutests::util::TestScenario; use uutests::util_name; -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))] use bincode::{config, serde::encode_to_vec}; use regex::Regex; -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))] use serde::Serialize; -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))] use serde_big_array::BigArray; -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))] use std::fs::File; -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +#[cfg(not(any(target_os = "macos", target_os = "openbsd", target_env = "musl")))] use std::{io::Write, path::PathBuf}; #[test]