Skip to content

Commit

Permalink
fix macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Nov 14, 2023
1 parent fc5d70d commit 95cebfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ libc_bitflags! {
MAP_NOCACHE;
/// Allows the W/X bit on the page, it's necessary on aarch64 architecture.
#[cfg(apple_targets)]
MAP_JIT;
/// Allows to use large pages, underlying alignment based on size.
#[cfg(target_os = "freebsd")]
MAP_ALIGNED_SUPER;
/// Pages will be discarded in the core dumps.
#[cfg(target_os = "openbsd")]
Expand Down

0 comments on commit 95cebfd

Please sign in to comment.