mirror of
https://github.com/uutils/coreutils
synced 2024-07-24 03:14:22 +00:00
util: fix compile failed on Windows.
Use `std::path::MAIN_SEPARATOR_STR` instead of `std::path::MAIN_SEPARATOR`
This commit is contained in:
parent
6f5dfa3c46
commit
a61761f090
|
@ -33,7 +33,7 @@ use std::os::unix::process::ExitStatusExt;
|
|||
#[cfg(windows)]
|
||||
use std::os::windows::fs::{symlink_dir, symlink_file};
|
||||
#[cfg(windows)]
|
||||
use std::path::MAIN_SEPARATOR;
|
||||
use std::path::MAIN_SEPARATOR_STR;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::{Child, Command, ExitStatus, Output, Stdio};
|
||||
use std::rc::Rc;
|
||||
|
|
Loading…
Reference in a new issue