From 7f0fb19f21327e58faa71dace73c8b092c25c81b Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Sun, 3 Jun 2018 09:24:50 -0700 Subject: Fix compilation on aarch64-unknown-linux-musl --- src/sys/mman.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys') 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. -- cgit v1.2.3