Skip to content

Commit

Permalink
more conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jan 29, 2025
1 parent 94f4c01 commit 7f366bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/behavior.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ async fn test_session_leader_async() {
assert_eq!(status.code().unwrap(), 0);
}

#[cfg(not(target_os = "macos"))]
fn pipe() -> (std::os::fd::OwnedFd, std::os::fd::OwnedFd) {
nix::unistd::pipe().unwrap()
}

0 comments on commit 7f366bd

Please sign in to comment.