fix(warning): Fix an unused import warning of std::fs on macos (#820)

This commit is contained in:
Ken Matsui 2021-11-01 04:45:52 +09:00 committed by GitHub
parent 0cfc5633d3
commit f04a7a4ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,10 @@ use std::collections::HashMap;
#[cfg(target_os = "macos")]
use darwin_libproc;
use std::env;
#[cfg(target_os = "linux")]
use std::fs;
use std::env;
use std::os::unix::io::RawFd;
use std::os::unix::process::CommandExt;
use std::path::PathBuf;