Skip to content

Commit 7f0fb19

Browse files
author
Bryant Mairs
committed
Fix compilation on aarch64-unknown-linux-musl
1 parent 5215a6d commit 7f0fb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/mman.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ libc_bitflags!{
4848
/// Put the mapping into the first 2GB of the process address space.
4949
#[cfg(any(all(any(target_os = "android", target_os = "linux"),
5050
any(target_arch = "x86", target_arch = "x86_64")),
51-
all(target_os = "linux", target_env = "musl", any(target_arch = "x86", target_pointer_width = "64")),
51+
all(target_os = "linux", target_env = "musl", any(target_arch = "x86", target_arch = "x86_64")),
5252
all(target_os = "freebsd", target_pointer_width = "64")))]
5353
MAP_32BIT;
5454
/// Used for stacks; indicates to the kernel that the mapping should extend downward in memory.

0 commit comments

Comments
 (0)