diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-08-17 16:24:47 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-08-21 14:40:53 -0700 |
commit | 3ef5049a14183183effd589f9de2398904fa24fe (patch) | |
tree | 9456d178294f3788664fa8a06944c9d1f39d26f5 | |
parent | 4065c465f75f387bb25da8847962397b36fd5de6 (diff) | |
download | nix-3ef5049a14183183effd589f9de2398904fa24fe.zip |
Log sendfile as missing for some BSDs
-rw-r--r-- | src/sys/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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; |