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: https://github.com/rust-lang/rust/pull/111237#discussion_r1192119809
This commit is contained in:
Dylan DPC 2023-05-13 11:05:35 +05:30 committed by GitHub
commit 1533eafa15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -882,8 +882,8 @@ impl InlineAsmClobberAbi {
_ => Err(&["C", "system", "efiapi"]),
},
InlineAsmArch::LoongArch64 => match name {
"C" | "system" | "efiapi" => Ok(InlineAsmClobberAbi::LoongArch),
_ => Err(&["C", "system", "efiapi"]),
"C" | "system" => Ok(InlineAsmClobberAbi::LoongArch),
_ => Err(&["C", "system"]),
},
_ => Err(&[]),
}