Skip to content

Commit

Permalink
Fix compilation on aarch64-unknown-linux-musl
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Mairs committed Jun 3, 2018
1 parent 5215a6d commit 7f0fb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ libc_bitflags!{
/// Put the mapping into the first 2GB of the process address space.
#[cfg(any(all(any(target_os = "android", target_os = "linux"),
any(target_arch = "x86", target_arch = "x86_64")),
all(target_os = "linux", target_env = "musl", any(target_arch = "x86", target_pointer_width = "64")),
all(target_os = "linux", target_env = "musl", any(target_arch = "x86", target_arch = "x86_64")),
all(target_os = "freebsd", target_pointer_width = "64")))]
MAP_32BIT;
/// Used for stacks; indicates to the kernel that the mapping should extend downward in memory.
Expand Down

0 comments on commit 7f0fb19

Please sign in to comment.