1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 05:27:45 +00:00

uucore: fix: use updated 'wild' crate for globbing

This commit is contained in:
Roy Ivy III 2018-09-03 11:30:34 -05:00
parent 8684a148ca
commit 289c052600
2 changed files with 2 additions and 6 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 = { git = "https://gitlab.com/rivy/wild.git" }
wild = "2.0.1"
[target.'cfg(target_os = "redox")'.dependencies]
termion = "1.5"

View file

@ -1,13 +1,9 @@
extern crate wild;
pub fn args() -> Box<Iterator<Item=String>> {
pub fn args() -> impl Iterator<Item=String> {
wild::args()
}
pub fn args_os() -> Box<Iterator<Item=std::ffi::OsString>> {
wild::args_os()
}
#[cfg(feature = "libc")]
pub extern crate libc;
#[cfg(feature = "winapi")]