diff options
| author | Jeremy Soller <jackpot51@gmail.com> | 2025-09-27 08:25:47 -0600 |
|---|---|---|
| committer | Jeremy Soller <jackpot51@gmail.com> | 2025-09-27 08:25:47 -0600 |
| commit | 760ed37769c4902c97c874d324978472ce02f9ba (patch) | |
| tree | ac1d83e5ffdc578bfcda053e80540d3b28c35030 /library | |
| parent | ade84871f718ea20a6460d28e82290353b4bf3d2 (diff) | |
| download | rust-760ed37769c4902c97c874d324978472ce02f9ba.tar.gz rust-760ed37769c4902c97c874d324978472ce02f9ba.zip | |
redox: switch to colon as path separator
Diffstat (limited to 'library')
| -rw-r--r-- | library/std/src/sys/pal/unix/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/os.rs b/library/std/src/sys/pal/unix/os.rs index f0b6068e06c..7c9f3b7992f 100644 --- a/library/std/src/sys/pal/unix/os.rs +++ b/library/std/src/sys/pal/unix/os.rs @@ -16,7 +16,7 @@ use crate::{fmt, io, iter, mem, ptr, slice, str}; const TMPBUF_SZ: usize = 128; -const PATH_SEPARATOR: u8 = if cfg!(target_os = "redox") { b';' } else { b':' }; +const PATH_SEPARATOR: u8 = b':'; unsafe extern "C" { #[cfg(not(any(target_os = "dragonfly", target_os = "vxworks", target_os = "rtems")))] |
