diff --git a/src/sys/mman.rs b/src/sys/mman.rs index 30d538816a..b8a17e5e77 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -138,6 +138,7 @@ libc_bitflags!{ /// Pages in this mapping are not retained in the kernel's memory cache. #[cfg(any(target_os = "ios", target_os = "macos"))] MAP_NOCACHE; + /// Allows the W/X bit on the page, it's necessary on aarch64 architecture. #[cfg(any(target_os = "ios", target_os = "macos"))] MAP_JIT; /// Allows to use large pages, underlying alignment based on size.