From 3d03ff31d0eeeddb8e9f17135c35e3f1fc61efde Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 19 Sep 2021 11:48:31 +0100 Subject: [PATCH] mman MAP_JIT flag documentation. --- src/sys/mman.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sys/mman.rs b/src/sys/mman.rs index e3c36208bf..4ee3668488 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; }