Skip to content

Commit

Permalink
Fix macOS tests
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull authored and Xaeroxe committed Sep 3, 2023
1 parent 92b3942 commit e2b07c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> {
let bin = dir.join(path).with_extension(extension);

#[cfg(any(target_os = "macos", target_os = "linux"))]
let mode = rustix::fs::Mode::XUSR.bits();
let mode = rustix::fs::Mode::XUSR.bits() as u32;
let mode = 0o666 | mode;
fs::OpenOptions::new()
.write(true)
Expand Down

0 comments on commit e2b07c3

Please sign in to comment.