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:
commit
1533eafa15
@ -882,8 +882,8 @@ impl InlineAsmClobberAbi {
|
|||||||
_ => Err(&["C", "system", "efiapi"]),
|
_ => Err(&["C", "system", "efiapi"]),
|
||||||
},
|
},
|
||||||
InlineAsmArch::LoongArch64 => match name {
|
InlineAsmArch::LoongArch64 => match name {
|
||||||
"C" | "system" | "efiapi" => Ok(InlineAsmClobberAbi::LoongArch),
|
"C" | "system" => Ok(InlineAsmClobberAbi::LoongArch),
|
||||||
_ => Err(&["C", "system", "efiapi"]),
|
_ => Err(&["C", "system"]),
|
||||||
},
|
},
|
||||||
_ => Err(&[]),
|
_ => Err(&[]),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user