about summary refs log tree commit diff
path: root/src/libstd/sys/wasm/path.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-05-31 18:09:25 -0700
committerEric Huss <eric@huss.org>2020-07-15 09:57:05 -0700
commit6e9a1de0d146734e51cc7e761b288e9b9b138d4f (patch)
tree30b9b14101b98330b12c5d90131fd6e375ff29c4 /src/libstd/sys/wasm/path.rs
parent9e58908e27d47683800ab0869a98502a6f485a62 (diff)
downloadrust-6e9a1de0d146734e51cc7e761b288e9b9b138d4f.tar.gz
rust-6e9a1de0d146734e51cc7e761b288e9b9b138d4f.zip
Introduce restricted-std feature.
Diffstat (limited to 'src/libstd/sys/wasm/path.rs')
-rw-r--r--src/libstd/sys/wasm/path.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/libstd/sys/wasm/path.rs b/src/libstd/sys/wasm/path.rs
deleted file mode 100644
index 840a7ae0426..00000000000
--- a/src/libstd/sys/wasm/path.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-use crate::ffi::OsStr;
-use crate::path::Prefix;
-
-#[inline]
-pub fn is_sep_byte(b: u8) -> bool {
-    b == b'/'
-}
-
-#[inline]
-pub fn is_verbatim_sep(b: u8) -> bool {
-    b == b'/'
-}
-
-pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
-    None
-}
-
-pub const MAIN_SEP_STR: &str = "/";
-pub const MAIN_SEP: char = '/';