We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66bdd95 commit 9d6adb6Copy full SHA for 9d6adb6
compiler/rustc_codegen_llvm/src/context.rs
@@ -328,6 +328,8 @@ pub unsafe fn create_module<'ll>(
328
);
329
330
// Emit RISC-V specific target-abi metadata
331
+ // to workaround lld as the LTO plugin not
332
+ // correctly setting target-abi for the LTO object
333
// FIXME: https://github.com/llvm/llvm-project/issues/50591
334
// If llvm_abiname is empty, emit nothing.
335
if matches!(sess.target.arch.as_ref(), "riscv32" | "riscv64" | "riscv128")
0 commit comments