Skip to content

Commit 1533eaf

Browse files
authored
Rollup merge of #111499 - loongarch-rs:drop-efiapi, r=Amanieu
asm: loongarch64: Drop efiapi This PR aims to drop `efiapi` which is not a valid ABI on LoongArch. Fixes: #111237 (comment)
2 parents 8c89601 + d58863f commit 1533eaf

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_target/src/asm

1 file changed

+2
-2
lines changed

compiler/rustc_target/src/asm/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,8 @@ impl InlineAsmClobberAbi {
882882
_ => Err(&["C", "system", "efiapi"]),
883883
},
884884
InlineAsmArch::LoongArch64 => match name {
885-
"C" | "system" | "efiapi" => Ok(InlineAsmClobberAbi::LoongArch),
886-
_ => Err(&["C", "system", "efiapi"]),
885+
"C" | "system" => Ok(InlineAsmClobberAbi::LoongArch),
886+
_ => Err(&["C", "system"]),
887887
},
888888
_ => Err(&[]),
889889
}

0 commit comments

Comments
 (0)