Merge pull request #1281 from rivy/alt/win-cli-globbing

Add command line globbing to all utilities (for windows targets)
This commit is contained in:
Alex Lyon
2019-02-06 23:21:53 -08:00
committed by GitHub
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -10,6 +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 = "2.0.1"
[target.'cfg(target_os = "redox")'.dependencies]
termion = "1.5"
+1
View File
@@ -25,6 +25,7 @@ use std::io::Result as IOResult;
use std::path::{Component, Path, PathBuf};
use std::borrow::Cow;
#[cfg(unix)]
macro_rules! has {
($mode:expr, $perm:expr) => (
$mode & ($perm as u32) != 0
+6
View File
@@ -1,3 +1,9 @@
extern crate wild;
pub fn args() -> impl Iterator<Item=String> {
wild::args()
}
#[cfg(feature = "libc")]
pub extern crate libc;
#[cfg(feature = "winapi")]