Skip to content

Commit 760ed37

Browse files
committed
redox: switch to colon as path separator
1 parent ade8487 commit 760ed37

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)