Tell std that mikros uses UNIX-style paths
This commit is contained in:
parent
8d7aec25b7
commit
12f89ebb89
@ -2212,7 +2212,7 @@ impl Path {
|
|||||||
// FIXME: Allow Redox prefixes
|
// FIXME: Allow Redox prefixes
|
||||||
self.has_root() || has_redox_scheme(self.as_u8_slice())
|
self.has_root() || has_redox_scheme(self.as_u8_slice())
|
||||||
} else {
|
} else {
|
||||||
self.has_root() && (cfg!(any(unix, target_os = "wasi")) || self.prefix().is_some())
|
self.has_root() && (cfg!(any(unix, target_os = "wasi", target_os = "mikros")) || self.prefix().is_some())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user