Skip to content

Commit e49e7c9

Browse files
committed
Disable optimization for jobserver pipe
It could be the reason why the failure still happens in sfackler/rust-openssl#2184 (comment)
1 parent f0153a4 commit e49e7c9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/parallel/job_token/unix.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ impl JobServerClient {
7474
Some(libc::O_RDONLY) | Some(libc::O_RDWR),
7575
Some(libc::O_WRONLY) | Some(libc::O_RDWR),
7676
) => {
77-
// Optimization: Try converting it to a fifo by using /dev/fd
78-
if let Some(jobserver) =
79-
Self::from_fifo(Path::new(&format!("/dev/fd/{}", read.as_raw_fd())))
80-
{
81-
return Some(jobserver);
82-
}
83-
8477
let read = read.try_clone().ok()?;
8578
let write = write.try_clone().ok()?;
8679

0 commit comments

Comments
 (0)