From abb05c0fd50fed5d5a59f8fcd9ec95532c070a4a Mon Sep 17 00:00:00 2001 From: beetrees Date: Thu, 31 Oct 2024 19:17:07 +0000 Subject: [PATCH] Remove `""` case from RISC-V `llvm_abiname` match statement --- compiler/rustc_codegen_ssa/src/back/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_ssa/src/back/metadata.rs b/compiler/rustc_codegen_ssa/src/back/metadata.rs index 4c25c85569b..796acb6796f 100644 --- a/compiler/rustc_codegen_ssa/src/back/metadata.rs +++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs @@ -322,7 +322,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option (), + "ilp32" | "lp64" => (), "ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE, "ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE, // Note that the `lp64e` is still unstable as it's not (yet) part of the ELF psABI.