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

Replace lazy_static with once_cell

This commit is contained in:
Jamie Quigley 2022-07-12 14:08:18 +01:00
parent 37b754f462
commit 1a270361c0
No known key found for this signature in database
GPG key ID: 8E8FF66E2AE8D970
9 changed files with 12 additions and 37 deletions

View file

@ -18,16 +18,9 @@ use std::os::unix::io::IntoRawFd;
use std::path::Path;
#[cfg(not(windows))]
use std::path::PathBuf;
#[cfg(not(windows))]
use std::sync::Mutex;
use std::thread::sleep;
use std::time::Duration;
#[cfg(not(windows))]
lazy_static! {
static ref UMASK_MUTEX: Mutex<()> = Mutex::new(());
}
const LONG_ARGS: &[&str] = &[
"-l",
"--long",