Skip to content

Commit 66ceffe

Browse files
authored
Add missing RISC-V targets (#1657)
1 parent 8124fc5 commit 66ceffe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/lib.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,12 +3592,22 @@ impl Build {
35923592
"riscv64-unknown-elf",
35933593
"riscv-none-embed",
35943594
]),
3595+
"riscv32im-unknown-none-elf" => self.find_working_gnu_prefix(&[
3596+
"riscv32-unknown-elf",
3597+
"riscv64-unknown-elf",
3598+
"riscv-none-embed",
3599+
]),
35953600
"riscv32imac-esp-espidf" => Some("riscv32-esp-elf"),
35963601
"riscv32imac-unknown-none-elf" => self.find_working_gnu_prefix(&[
35973602
"riscv32-unknown-elf",
35983603
"riscv64-unknown-elf",
35993604
"riscv-none-embed",
36003605
]),
3606+
"riscv32imafc-unknown-none-elf" => self.find_working_gnu_prefix(&[
3607+
"riscv32-unknown-elf",
3608+
"riscv64-unknown-elf",
3609+
"riscv-none-embed",
3610+
]),
36013611
"riscv32imac-unknown-xous-elf" => self.find_working_gnu_prefix(&[
36023612
"riscv32-unknown-elf",
36033613
"riscv64-unknown-elf",
@@ -3620,6 +3630,7 @@ impl Build {
36203630
"riscv-none-embed",
36213631
]),
36223632
"riscv64gc-unknown-linux-gnu" => Some("riscv64-linux-gnu"),
3633+
"riscv64a23-unknown-linux-gnu" => Some("riscv64-linux-gnu"),
36233634
"riscv32gc-unknown-linux-gnu" => Some("riscv32-linux-gnu"),
36243635
"riscv64gc-unknown-linux-musl" => Some("riscv64-linux-musl"),
36253636
"riscv32gc-unknown-linux-musl" => Some("riscv32-linux-musl"),

0 commit comments

Comments
 (0)