Skip to content

Commit 0242c9b

Browse files
committed
Log sendfile as missing for some BSDs
1 parent 8122d04 commit 0242c9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sys/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ pub mod memfd;
1818
#[macro_use]
1919
pub mod ioctl;
2020

21-
#[cfg(any(target_os = "linux", target_os = "android"))]
21+
// TODO: Add support for dragonfly, freebsd, and ios/macos.
22+
#[cfg(any(target_os = "android", target_os = "linux"))]
2223
pub mod sendfile;
2324

2425
pub mod signal;

0 commit comments

Comments
 (0)