mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-02 14:07:46 +00:00
uucore: fix: use forked 'wild' crate with case-sensitivity + API fixes
This commit is contained in:
parent
0af7fbbf3b
commit
8684a148ca
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ failure_derive = { version = "0.1.1", optional = true }
|
||||||
time = { version = "0.1.40", optional = true }
|
time = { version = "0.1.40", optional = true }
|
||||||
data-encoding = { version = "^2.1", optional = true }
|
data-encoding = { version = "^2.1", optional = true }
|
||||||
libc = { version = "0.2.42", 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]
|
[target.'cfg(target_os = "redox")'.dependencies]
|
||||||
termion = "1.5"
|
termion = "1.5"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
extern crate wild;
|
extern crate wild;
|
||||||
|
|
||||||
pub fn args() -> Box<Iterator<Item=String>> {
|
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>> {
|
pub fn args_os() -> Box<Iterator<Item=std::ffi::OsString>> {
|
||||||
Box::new( wild::args() )
|
wild::args_os()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "libc")]
|
#[cfg(feature = "libc")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue