Skip to content

Commit

Permalink
mman MAP_JIT flag documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Sep 19, 2021
1 parent f0d6d04 commit 3d03ff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3d03ff3

Please sign in to comment.