std::thread::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
co-authored by Sylvestre Ledru
parent ebb4568d52
commit a655117a5f
+1
View File
@@ -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]