about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-13 17:44:12 +0100
committerGitHub <noreply@github.com>2025-03-13 17:44:12 +0100
commit69b3ad18d22180a27ecc7b5649c5665006f4209d (patch)
treed38d62efe8b0ee91b4c5f4bc939de0a77e4851e8 /compiler/rustc_codegen_llvm/src
parent883f00ce3478deb428f72210f7dc3e2a122c41d0 (diff)
parent0434013a6ea19eb1937d65105623c41e1b52e3f1 (diff)
downloadrust-69b3ad18d22180a27ecc7b5649c5665006f4209d.tar.gz
rust-69b3ad18d22180a27ecc7b5649c5665006f4209d.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions