Skip to content

Commit 64cf300

Browse files
authored
Add powerpc64-unknown-linux-musl target (#216)
1 parent 681b0fc commit 64cf300

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/Build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ jobs:
130130
TARGET: loongarch64-unknown-linux-musl
131131
RUST_MUSL_MAKE_CONFIG: config.mak
132132
TOOLCHAIN: stable
133+
- IMAGE_TAG: powerpc64-musl
134+
TARGET: powerpc64-unknown-linux-musl
135+
RUST_MUSL_MAKE_CONFIG: config.mak
136+
TOOLCHAIN: nightly
133137
- IMAGE_TAG: powerpc64le-musl
134138
TARGET: powerpc64le-unknown-linux-musl
135139
RUST_MUSL_MAKE_CONFIG: config.mak

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ Currently we have the following [prebuilt Docker images on Docker Hub](https://h
2727
| stable | mips-unknown-linux-musl | mips-musl |
2828
| stable | loongarch64-unknown-linux-musl | loongarch64-musl |
2929
| stable | mipsel-unknown-linux-musl | mipsel-musl |
30+
| nightly | powerpc64-unknown-linux-musl | powerpc64-musl |
31+
| stable | powerpc64le-unknown-linux-musl | powerpc64le-musl |
3032
| stable | mips64-unknown-linux-muslabi64 | mips64-muslabi64 |
3133
| stable | mips64el-unknown-linux-muslabi64 | mips64el-muslabi64 |
32-
| stable | powerpc64le-unknown-linux-musl | powerpc64le-musl |
3334
| stable | riscv64gc-unknown-linux-musl | riscv64gc-musl |
3435
| stable | x86\_64-unknown-linux-musl | x86\_64-musl |
3536

build-std.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
3-
if [[ "$TOOLCHAIN" = "nightly" && ("$TARGET" =~ ^s390x) ]]
3+
if [[ "$TOOLCHAIN" = "nightly" && ("$TARGET" =~ ^s390x || "$TARGET" = "powerpc64-unknown-linux-musl") ]]
44
then
55
export CARGO_NET_GIT_FETCH_WITH_CLI=true
66
export CARGO_UNSTABLE_SPARSE_REGISTRY=true

0 commit comments

Comments
 (0)