Skip to content

Commit 709ad4f

Browse files
authored
Fix compile on android
1 parent 7690f8e commit 709ad4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compio-driver/src/sys/op

compio-driver/src/sys/op/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cfg_if! {
2020
}
2121

2222
cfg_if! {
23-
if #[cfg(target_os = "linux")] {
23+
if #[cfg(any(target_os = "linux", target_os = "android"))] {
2424
pub use rustix::pipe::SpliceFlags;
2525
}
2626
}

0 commit comments

Comments
 (0)