diff options
author | i509VCB <git@i509.me> | 2022-08-23 17:05:19 -0500 |
---|---|---|
committer | i509VCB <git@i509.me> | 2022-09-07 22:00:38 -0500 |
commit | cf15c2bb5505231bc3128ef61522336e315e2169 (patch) | |
tree | c646f122c6be352495bc584c25ebbee2931b58af /src/sys/mod.rs | |
parent | 1eb589f26fe4b56ce799e05d3b5fb527729cffdf (diff) | |
download | nix-cf15c2bb5505231bc3128ef61522336e315e2169.zip |
expose memfd on freebsd
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 979d623b..2065059d 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -50,7 +50,7 @@ feature! { #[macro_use] pub mod ioctl; -#[cfg(any(target_os = "android", target_os = "linux"))] +#[cfg(any(target_os = "android", target_os = "freebsd", target_os = "linux"))] feature! { #![feature = "fs"] pub mod memfd; |