Skip to content

Commit 3d03ff3

Browse files
committed
mman MAP_JIT flag documentation.
1 parent f0d6d04 commit 3d03ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/mman.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ libc_bitflags!{
138138
/// Pages in this mapping are not retained in the kernel's memory cache.
139139
#[cfg(any(target_os = "ios", target_os = "macos"))]
140140
MAP_NOCACHE;
141+
/// Allows the W/X bit on the page, it's necessary on aarch64 architecture.
141142
#[cfg(any(target_os = "ios", target_os = "macos"))]
142143
MAP_JIT;
143144
}

0 commit comments

Comments
 (0)