Skip to content

Commit a8bf87c

Browse files
authored
Unrolled build for #147093
Rollup merge of #147093 - jackpot51:redox-path, r=bjorn3 redox: switch to colon as path separator We recently changed this in order to better comply with assumptions about Unix-like systems. The current PATH is set to `/usr/bin` with no separators in order to ease the transition.
2 parents 4ffeda1 + 760ed37 commit a8bf87c

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/unix/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::{fmt, io, iter, mem, ptr, slice, str};
1616

1717
const TMPBUF_SZ: usize = 128;
1818

19-
const PATH_SEPARATOR: u8 = if cfg!(target_os = "redox") { b';' } else { b':' };
19+
const PATH_SEPARATOR: u8 = b':';
2020

2121
unsafe extern "C" {
2222
#[cfg(not(any(target_os = "dragonfly", target_os = "vxworks", target_os = "rtems")))]

0 commit comments

Comments
 (0)