]> git.proxmox.com Git - rustc.git/blame - src/libstd/sys/wasm/path.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / libstd / sys / wasm / path.rs
CommitLineData
532ac7d7 1use crate::ffi::OsStr;
60c5eb7d 2use crate::path::Prefix;
85aaf69f 3
abe05a73
XL
4#[inline]
5pub fn is_sep_byte(b: u8) -> bool {
6 b == b'/'
7}
8
9#[inline]
10pub fn is_verbatim_sep(b: u8) -> bool {
11 b == b'/'
12}
223e47cc 13
532ac7d7 14pub fn parse_prefix(_: &OsStr) -> Option<Prefix<'_>> {
abe05a73 15 None
ea8adc8c 16}
abe05a73 17
0731742a 18pub const MAIN_SEP_STR: &str = "/";
abe05a73 19pub const MAIN_SEP: char = '/';