summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/mman.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index 44af62c8..803dc50d 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.