1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

uucore: fix: use forked 'wild' crate with case-sensitivity + API fixes

This commit is contained in:
Roy Ivy III 2018-08-05 21:54:59 -05:00
parent 0af7fbbf3b
commit 8684a148ca
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ failure_derive = { version = "0.1.1", optional = true }
time = { version = "0.1.40", optional = true }
data-encoding = { version = "^2.1", optional = true }
libc = { version = "0.2.42", optional = true }
wild = "1.0.1"
wild = { git = "https://gitlab.com/rivy/wild.git" }
[target.'cfg(target_os = "redox")'.dependencies]
termion = "1.5"

View file

@ -1,11 +1,11 @@
extern crate wild;
pub fn args() -> Box<Iterator<Item=String>> {
Box::new( wild::args().map(|s| s.into_string().unwrap()) )
wild::args()
}
pub fn args_os() -> Box<Iterator<Item=std::ffi::OsString>> {
Box::new( wild::args() )
wild::args_os()
}
#[cfg(feature = "libc")]