fix(warning): Fix an unused import warning of std::fs on macos (#820)
This commit is contained in:
parent
0cfc5633d3
commit
f04a7a4ee7
1 changed files with 3 additions and 1 deletions
|
|
@ -3,8 +3,10 @@ use std::collections::HashMap;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
use darwin_libproc;
|
use darwin_libproc;
|
||||||
|
|
||||||
use std::env;
|
#[cfg(target_os = "linux")]
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
|
use std::env;
|
||||||
use std::os::unix::io::RawFd;
|
use std::os::unix::io::RawFd;
|
||||||
use std::os::unix::process::CommandExt;
|
use std::os::unix::process::CommandExt;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue