Skip to content

Commit 8fc6e95

Browse files
xtqqczzesylvestre
authored andcommitted
fix(uucore): fix build failure
1 parent 3fbfcf9 commit 8fc6e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uucore/src/lib/features/pipes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
#[cfg(any(target_os = "linux", target_os = "android"))]
99
use rustix::pipe::{SpliceFlags, fcntl_setpipe_size};
10-
#[cfg(any(target_os = "linux", target_os = "android"))]
10+
#[cfg(any(target_os = "linux", target_os = "android", test))]
1111
use std::fs::File;
1212
#[cfg(any(target_os = "linux", target_os = "android"))]
1313
use std::os::fd::AsFd;

0 commit comments

Comments
 (0)