diff options
| author | Eric Huss <eric@huss.org> | 2020-05-31 18:09:25 -0700 | 
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-07-15 09:57:05 -0700 | 
| commit | 6e9a1de0d146734e51cc7e761b288e9b9b138d4f (patch) | |
| tree | 30b9b14101b98330b12c5d90131fd6e375ff29c4 /src/libstd/sys/wasm/path.rs | |
| parent | 9e58908e27d47683800ab0869a98502a6f485a62 (diff) | |
| download | rust-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.rs | 19 | 
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 = '/'; | 
