diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-09-12 03:28:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 03:28:23 +0000 |
commit | 1038ee53409e5955fc68416fd140f831b9a88e5c (patch) | |
tree | 7240242d983768fe7ba77ed870f2b1b1fff7f842 /src/sys/mod.rs | |
parent | 8e167c765da198a2e9895e387c4f75ff664d7bf0 (diff) | |
parent | cf15c2bb5505231bc3128ef61522336e315e2169 (diff) | |
download | nix-1038ee53409e5955fc68416fd140f831b9a88e5c.zip |
Merge #1808
1808: expose memfd on freebsd r=asomers a=i509VCB
Resolves #1775
Co-authored-by: i509VCB <git@i509.me>
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; |