Commit 2bd687d
committed
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`.
```1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | 383 | | |
386 | 384 | | |
387 | 385 | | |
| |||
0 commit comments