From ed33507c694caef88cacdf51fc04516faea7fdc3 Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Tue, 2 Nov 2021 08:30:36 -0400 Subject: MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo --- src/sys/mman.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/mman.rs b/src/sys/mman.rs index 882a2b94..34fb1058 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -141,7 +141,7 @@ libc_bitflags!{ #[cfg(any(target_os = "ios", target_os = "macos"))] MAP_JIT; /// Allows to use large pages, underlying alignment based on size. - #[cfg(target_os = "freesd")] + #[cfg(target_os = "freebsd")] MAP_ALIGNED_SUPER; /// Pages will be discarded in the core dumps. #[cfg(target_os = "openbsd")] -- cgit v1.2.3