Skip to content

Commit 2512fb0

Browse files
Rollup merge of #88157 - Icenowy:bootstrap-riscv64, r=Mark-Simulacrum
bootstrap.py: recognize riscv64 when auto-detect The architecture auto-detect table has no entry for riscv64 (which rustc uses riscv64gc for the first part of triplet, assuming it's a generic Linux distro). Add it to the table to allow riscv64 systems to bootstrap Rust. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2 parents 214d8e3 + 4130a32 commit 2512fb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/bootstrap.py

+1
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ def default_build_triple(verbose):
301301
'ppc': 'powerpc',
302302
'ppc64': 'powerpc64',
303303
'ppc64le': 'powerpc64le',
304+
'riscv64': 'riscv64gc',
304305
's390x': 's390x',
305306
'x64': 'x86_64',
306307
'x86': 'i686',

0 commit comments

Comments
 (0)