1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

std:🧵:sleep needs target_os

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
This commit is contained in:
Antonio Gurgel 2021-03-28 00:42:25 -07:00 committed by GitHub
parent ebb4568d52
commit a655117a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@ use crate::common::util::*;
use filetime::FileTime; use filetime::FileTime;
use rust_users::*; use rust_users::*;
use std::os::unix::fs::PermissionsExt; use std::os::unix::fs::PermissionsExt;
#[cfg(target_os = "linux")]
use std::thread::sleep; use std::thread::sleep;
#[test] #[test]