From 3ef5049a14183183effd589f9de2398904fa24fe Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Thu, 17 Aug 2017 16:24:47 -0700 Subject: Log sendfile as missing for some BSDs --- src/sys/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 2fe2d301..a690c004 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -18,7 +18,8 @@ pub mod memfd; #[macro_use] pub mod ioctl; -#[cfg(any(target_os = "linux", target_os = "android"))] +// TODO: Add support for dragonfly, freebsd, and ios/macos. +#[cfg(any(target_os = "android", target_os = "linux"))] pub mod sendfile; pub mod signal; -- cgit v1.2.3