Rename x86_64-unknown-none-elf to x86_64-unknown-none
Most Rust freestanding/bare-metal targets use just `-unknown-none` here, including aarch64-unknown-none, mipsel-unknown-none, and the BPF targets. The *only* target using `-unknown-none-elf` is RISC-V. The underlying toolchain doesn't care; LLVM accepts both `x86_64-unknown-none` and `x86_64-unknown-none-elf`. In addition, there's a long history of embedded x86 targets with varying definitions for the `elf` suffix; on some of those embedded targets, `elf` implied the inclusion of a C library based on newlib or similar. Using `x86_64-unknown-none` avoids any potential ambiguity there. (Work on this target sponsored by Profian.)
This commit is contained in:
parent
5ba3a651f9
commit
a23ee64c2c
3 changed files with 2 additions and 2 deletions
|
@ -955,7 +955,7 @@ supported_targets! {
|
|||
|
||||
("armv7-unknown-linux-uclibceabihf", armv7_unknown_linux_uclibceabihf),
|
||||
|
||||
("x86_64-unknown-none-elf", x86_64_unknown_none_elf),
|
||||
("x86_64-unknown-none", x86_64_unknown_none),
|
||||
}
|
||||
|
||||
/// Warnings encountered when parsing the target `json`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue