Skip to content

Commit 789ddc1

Browse files
committed
Work around the stage0 sanity check
Add rv32e-targets to 'stage0 missing targets'. This prevents the error "no such target exists in the target list".
1 parent 7b8e249 commit 789ddc1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/src/core/sanity.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pub struct Finder {
3737
const STAGE0_MISSING_TARGETS: &[&str] = &[
3838
// just a dummy comment so the list doesn't get onelined
3939
"armv7-rtems-eabihf",
40+
"riscv32e-unknown-none-elf",
41+
"riscv32em-unknown-none-elf",
42+
"riscv32emc-unknown-none-elf",
4043
];
4144

4245
/// Minimum version threshold for libstdc++ required when using prebuilt LLVM

0 commit comments

Comments
 (0)