We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ed556e commit 2f68d97Copy full SHA for 2f68d97
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -283,7 +283,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
283
// Set the appropriate flag based on ABI
284
// This needs to match LLVM `RISCVELFStreamer.cpp`
285
match &*sess.target.llvm_abiname {
286
- "ilp32" | "lp64" => (),
+ "" | "ilp32" | "lp64" => (),
287
"ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
288
"ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE,
289
"ilp32e" => e_flags |= elf::EF_RISCV_RVE,
0 commit comments