Skip to content

Commit 2212354

Browse files
authored
Rollup merge of rust-lang#110779 - jchzhou:patch, r=albertlarsan68
configure.py: add flag for riscv{64,32}gc musl-root Add the corresponding flag for detecting `--musl-root-riscv64gc` and `--musl-root-riscv32gc` with ./configure, which is beneficial for downstream Linux distros to create the rust package with the same "recipe" from other architectures.
2 parents 02196bd + d2516c1 commit 2212354

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/configure.py

+4
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ def v(*args):
139139
"mips64-unknown-linux-muslabi64 install directory")
140140
v("musl-root-mips64el", "target.mips64el-unknown-linux-muslabi64.musl-root",
141141
"mips64el-unknown-linux-muslabi64 install directory")
142+
v("musl-root-riscv32gc", "target.riscv32gc-unknown-linux-musl.musl-root",
143+
"riscv32gc-unknown-linux-musl install directory")
144+
v("musl-root-riscv64gc", "target.riscv64gc-unknown-linux-musl.musl-root",
145+
"riscv64gc-unknown-linux-musl install directory")
142146
v("qemu-armhf-rootfs", "target.arm-unknown-linux-gnueabihf.qemu-rootfs",
143147
"rootfs in qemu testing, you probably don't want to use this")
144148
v("qemu-aarch64-rootfs", "target.aarch64-unknown-linux-gnu.qemu-rootfs",

0 commit comments

Comments
 (0)