about summary refs log tree commit diff
path: root/src/libstd/sys/unsupported/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/unsupported/args.rs')
-rw-r--r--src/libstd/sys/unsupported/args.rs38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/libstd/sys/unsupported/args.rs b/src/libstd/sys/unsupported/args.rs
deleted file mode 100644
index 71d0c5fa13e..00000000000
--- a/src/libstd/sys/unsupported/args.rs
+++ /dev/null
@@ -1,38 +0,0 @@
-use crate::ffi::OsString;
-
-pub unsafe fn init(_argc: isize, _argv: *const *const u8) {}
-pub unsafe fn cleanup() {}
-
-pub struct Args {}
-
-pub fn args() -> Args {
-    Args {}
-}
-
-impl Args {
-    pub fn inner_debug(&self) -> &[OsString] {
-        &[]
-    }
-}
-
-impl Iterator for Args {
-    type Item = OsString;
-    fn next(&mut self) -> Option<OsString> {
-        None
-    }
-    fn size_hint(&self) -> (usize, Option<usize>) {
-        (0, Some(0))
-    }
-}
-
-impl ExactSizeIterator for Args {
-    fn len(&self) -> usize {
-        0
-    }
-}
-
-impl DoubleEndedIterator for Args {
-    fn next_back(&mut self) -> Option<OsString> {
-        None
-    }
-}