We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
""
llvm_abiname
1 parent a0d98ff commit abb05c0Copy full SHA for abb05c0
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -322,7 +322,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
322
// Set the appropriate flag based on ABI
323
// This needs to match LLVM `RISCVELFStreamer.cpp`
324
match &*sess.target.llvm_abiname {
325
- "" | "ilp32" | "lp64" => (),
+ "ilp32" | "lp64" => (),
326
"ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
327
"ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE,
328
// Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI.
0 commit comments