diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-09-19 14:50:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 14:50:47 +0000 |
commit | a7fd53a78a6fcf9d96472eb5b3d8db0b4f97ab34 (patch) | |
tree | 45cdef787248234dd9ea177e64edbea3d8beec80 | |
parent | 1c0bc5c2f5157270843898f89120c21a43f04c22 (diff) | |
parent | 3d03ff31d0eeeddb8e9f17135c35e3f1fc61efde (diff) | |
download | nix-a7fd53a78a6fcf9d96472eb5b3d8db0b4f97ab34.zip |
Merge #1532
1532: mman MAP_JIT flag documentation. r=asomers a=devnexen
Co-authored-by: David Carlier <devnexen@gmail.com>
-rw-r--r-- | src/sys/mman.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs index 30d53881..b8a17e5e 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. |