mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
std::thread::sleep needs target_os
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
This commit is contained in:
co-authored by
Sylvestre Ledru
parent
ebb4568d52
commit
a655117a5f
@@ -2,6 +2,7 @@ use crate::common::util::*;
|
||||
use filetime::FileTime;
|
||||
use rust_users::*;
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::thread::sleep;
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user