Skip to content

Commit

Permalink
Rollup merge of rust-lang#111499 - loongarch-rs:drop-efiapi, r=Amanieu
Browse files Browse the repository at this point in the history
asm: loongarch64: Drop efiapi

This PR aims to drop `efiapi` which is not a valid ABI on LoongArch.

Fixes: rust-lang#111237 (comment)
  • Loading branch information
Dylan-DPC authored May 13, 2023
2 parents 8c89601 + d58863f commit 1533eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/asm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(&[]),
}
Expand Down

0 comments on commit 1533eaf

Please sign in to comment.