diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-06-03 09:24:50 -0700 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-06-03 09:24:50 -0700 |
commit | 7f0fb19f21327e58faa71dace73c8b092c25c81b (patch) | |
tree | f89e8bcba6aa7618230e457f037ac145b4677fe8 | |
parent | 5215a6d1619070f26e65d0a1a78bf3ef52f78249 (diff) | |
download | nix-7f0fb19f21327e58faa71dace73c8b092c25c81b.zip |
Fix compilation on aarch64-unknown-linux-musl
-rw-r--r-- | src/sys/mman.rs | 2 |
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. |