rust/compiler/rustc_target/src
Matthias Krüger 69b3ad18d2
Rollup merge of #138427 - madsmtm:vxworks-llvm-target, r=jieyouxu
Fix RISC-V VxWorks LLVM target triples

The targets `riscv32-wrs-vxworks` and `riscv64-wrs-vxworks` uses the plain `$ARCH` LLVM triple, which LLVM normalizes to `$ARCH-unknown-unknown`, we should use `$ARCH-unknown-linux-gnu$ABI` which is consistent with the the other VxWorks targets.

Motivation: To make it easier to verify that [`cc-rs`' conversion from `rustc` to Clang/LLVM triples](https://github.com/rust-lang/cc-rs/issues/1431) is correct.

Alternative: Pass `$ARCH-unknown-none` in the other VxWorks LLVM triples, I don't know anything about VxWorks, so am unsure which is the most correct option.

CC target maintainer `@biabbas.`
r? jieyouxu
2025-03-13 17:44:12 +01:00
..
asm Rollup merge of #136239 - folkertdev:show-supported-register-classes, r=SparrowLii,jieyouxu 2025-02-11 18:04:34 +01:00
callconv Rollup merge of #137363 - workingjubilee:untangle-x86-abi-impl, r=jieyouxu 2025-03-07 21:57:48 -05:00
spec Fix RISC-V VxWorks LLVM target triples 2025-03-12 22:42:17 +01:00
json.rs compiler: internally merge Conv::PtxKernel into GpuKernel 2025-02-09 23:14:55 -08:00
lib.rs Remove #![warn(unreachable_pub)] from all compiler/ crates. 2025-03-11 13:14:21 +11:00
target_features.rs Simplify implied_target_features. 2025-03-05 09:20:28 +11:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00