From c2f13db2b5bf80a670f86a4c3a3b61c2652a1018 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Fri, 8 Mar 2024 14:25:11 +0800 Subject: [PATCH] rustc: Fix typo --- 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 acdf3475f4e67..ab1bc0b6cd2eb 100644 --- a/compiler/rustc_codegen_ssa/src/back/metadata.rs +++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs @@ -339,7 +339,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option e_flags |= elf::EF_LARCH_ABI_SOFT_FLOAT, "ilp32f" | "lp64f" => e_flags |= elf::EF_LARCH_ABI_SINGLE_FLOAT, "ilp32d" | "lp64d" => e_flags |= elf::EF_LARCH_ABI_DOUBLE_FLOAT, - _ => bug!("unknown RISC-V ABI name"), + _ => bug!("unknown LoongArch ABI name"), } e_flags