Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #3295 - taiki-e:powerpc-linux-musl, r=JohnTitor
linux/musl: Fix multiple definitions of MAP_HUGETLB Currently, the build for powerpc-unknown-linux-musl is failing due to multiple definitions of MAP_HUGETLB. ```console $ cargo build -Zbuild-std=core --target powerpc-unknown-linux-musl Compiling libc v0.2.147 (...) error[E0428]: the name `MAP_HUGETLB` is defined multiple times --> src/unix/linux_like/linux/musl/b32/powerpc.rs:383:1 | 257 | pub const MAP_HUGETLB: ::c_int = 0x040000; | ------------------------------------------ previous definition of the value `MAP_HUGETLB` here ... 383 | pub const MAP_HUGETLB: ::c_int = 0x040000; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAP_HUGETLB` redefined here | = note: `MAP_HUGETLB` must be defined only once in the value namespace of this module For more information about this error, try `rustc --explain E0428`. ```
- Loading branch information