summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2018-06-03 09:24:50 -0700
committerBryant Mairs <bryantmairs@google.com>2018-06-03 09:24:50 -0700
commit7f0fb19f21327e58faa71dace73c8b092c25c81b (patch)
treef89e8bcba6aa7618230e457f037ac145b4677fe8 /src/sys
parent5215a6d1619070f26e65d0a1a78bf3ef52f78249 (diff)
downloadnix-7f0fb19f21327e58faa71dace73c8b092c25c81b.zip
Fix compilation on aarch64-unknown-linux-musl
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/mman.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index f2cc699b..48b5767e 100644
--- a/src/sys/mman.rs
+++ b/src/sys/mman.rs
@@ -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.