Skip to content

Commit 8a9b86e

Browse files
bors[bot]Bryant Mairs
andcommitted
Merge #912
912: Fix compilation on aarch64-unknown-linux-musl r=Susurrus a=Susurrus trust/cross don't support this architecture, so it's non-trivial to add CI testing for this to nix, but this fixed it locally for me. Since it's not a supported platform, I haven't added anything to the CHANGELOG, since this could break before the next release. Co-authored-by: Bryant Mairs <[email protected]>
2 parents edea1da + 7f0fb19 commit 8a9b86e

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)