-
- Downloads
Auto merge of #782 - tjkirch:master, r=alexcrichton
Add support for aarch64-unknown-linux-musl This adds support for aarch64-unknown-linux-musl as requested in rust-lang/rust#44779 by @alexcrichton The new file `ci/docker/aarch64-unknown-linux-musl/Dockerfile` essentially merges the aarch64-unknown-linux-gnu and x86_64-unknown-linux-musl Dockerfiles. The bigger changes are under `src/unix/notbsd/linux/`, though they're fairly superficial: Previously, some constants could be shared between all 64-bit musl triples, but aarch64 differs, so a number of things were moved from `musl/b64/mod.rs` to specific arches: `musl/b64/powerpc64.rs` and `musl/b64/x86_64.rs`, with the aarch64-specific differences being added to `musl/b64/aarch64.rs`. Similarly, some constants moved from `musl/mod.rs` to lower levels: `musl/b32/mod.rs`, `musl/b64/powerpc64.rs`, and `musl/b64/x86_64.rs`, with the aarch64-specific differences added to `musl/b64/aarch64.rs`. Finally, some things that were true of all Linux builds moved from `mod.rs` into lower levels: `mips/mod.rs`, `other/mod.rs`, `musl/b32/mod.rs`, `musl/b64/powerpc64.rs`, and `musl/b64/x86_64.rs`, with the aarch64-specific differences added to `musl/b64/aarch64.rs`. Testing: All linux-based triples under `ci/docker` were run through `ci/run-docker.sh` successfully, which checks that the size and alignment of definitions match for each triple, among other tests. (The local build of rust from rust-lang/rust#44779 was set for the aarch64-unknown-linux-musl build.) I also confirmed that it has "good style!" according to `ci/style.rs`.
Showing
- README.md 3 additions, 0 deletionsREADME.md
- ci/README.md 1 addition, 1 deletionci/README.md
- ci/docker/aarch64-unknown-linux-musl/Dockerfile 24 additions, 0 deletionsci/docker/aarch64-unknown-linux-musl/Dockerfile
- src/unix/notbsd/linux/mips/mod.rs 5 additions, 0 deletionssrc/unix/notbsd/linux/mips/mod.rs
- src/unix/notbsd/linux/mod.rs 5 additions, 5 deletionssrc/unix/notbsd/linux/mod.rs
- src/unix/notbsd/linux/musl/b32/mod.rs 21 additions, 0 deletionssrc/unix/notbsd/linux/musl/b32/mod.rs
- src/unix/notbsd/linux/musl/b64/aarch64.rs 74 additions, 0 deletionssrc/unix/notbsd/linux/musl/b64/aarch64.rs
- src/unix/notbsd/linux/musl/b64/mod.rs 0 additions, 49 deletionssrc/unix/notbsd/linux/musl/b64/mod.rs
- src/unix/notbsd/linux/musl/b64/powerpc64.rs 73 additions, 0 deletionssrc/unix/notbsd/linux/musl/b64/powerpc64.rs
- src/unix/notbsd/linux/musl/b64/x86_64.rs 71 additions, 0 deletionssrc/unix/notbsd/linux/musl/b64/x86_64.rs
- src/unix/notbsd/linux/musl/mod.rs 0 additions, 15 deletionssrc/unix/notbsd/linux/musl/mod.rs
- src/unix/notbsd/linux/other/mod.rs 5 additions, 0 deletionssrc/unix/notbsd/linux/other/mod.rs
Loading
Please register or sign in to comment