about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-20 04:38:08 +0000
committerbors <bors@rust-lang.org>2023-08-20 04:38:08 +0000
commit484cb4e78d5c7ec259b7d7540fbb18850ae7a6ba (patch)
tree6d2c4385b511cbb699a8174522f857e9f37caec6 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent82c5732b9ab4473c65d426866e67e8fdb23243fb (diff)
parent2f68d97b647807738b8597b8a9d156642285db47 (diff)
downloadrust-484cb4e78d5c7ec259b7d7540fbb18850ae7a6ba.tar.gz
rust-484cb4e78d5c7ec259b7d7540fbb18850ae7a6ba.zip
Auto merge of #114332 - nbdd0121:riscv, r=compiler-errors
Fix ABI flags in RISC-V/LoongArch ELF file generated by rustc

Fix #114153

It turns out the current way to set these flags are completely wrong. In LLVM the target ABI is used instead of target features to determine these flags.

Not sure how to write a test though. Or maybe a test isn't necessary because this affects only those touching target json?

r? `@Nilstrieb`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions