diff options
| author | Léo Lanteri Thauvin <leseulartichaut@gmail.com> | 2021-08-25 15:48:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-25 15:48:49 +0200 |
| commit | 2512fb0a0b3e9781f70a5cc96705ec4d9f650992 (patch) | |
| tree | 902a453a866765a39c85a7bf825d92dca53cfe7b /src/bootstrap | |
| parent | 214d8e3cd46b4186efd9403296e1be38f5c9fa49 (diff) | |
| parent | 4130a323b6aa1df5466d3b0d13c0e51039b6827d (diff) | |
| download | rust-2512fb0a0b3e9781f70a5cc96705ec4d9f650992.tar.gz rust-2512fb0a0b3e9781f70a5cc96705ec4d9f650992.zip | |
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>
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 3faf38c66ec..e34768bc2c9 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -301,6 +301,7 @@ def default_build_triple(verbose): 'ppc': 'powerpc', 'ppc64': 'powerpc64', 'ppc64le': 'powerpc64le', + 'riscv64': 'riscv64gc', 's390x': 's390x', 'x64': 'x86_64', 'x86': 'i686', |
