]> git.lizzy.rs Git - rust.git/commit
Limit efiapi calling convention to supported arches
authorNicholas Bishop <nbishop@nbishop.net>
Sat, 5 Nov 2022 18:26:54 +0000 (14:26 -0400)
committerNicholas Bishop <nbishop@nbishop.net>
Sun, 6 Nov 2022 22:04:42 +0000 (17:04 -0500)
commit16edaa56bafca405f4bae43d3f18480af13dfc90
tree56014447de8ef380dac8330e01e0b500415d5c15
parent7eef946fc0e0eff40e588eab77b09b287accbec3
Limit efiapi calling convention to supported arches

Supported architectures in UEFI are described here:
https://uefi.org/specs/UEFI/2.10/02_Overview.html#calling-conventions

Changes to tests modeled on 8240e7aa101815e2009c7d03b33dd2566d843e73.

https://github.com/rust-lang/rust/issues/65815
compiler/rustc_target/src/spec/mod.rs
src/test/ui/feature-gates/feature-gate-abi-efiapi.rs [new file with mode: 0644]
src/test/ui/feature-gates/feature-gate-abi-efiapi.stderr [new file with mode: 0644]
src/test/ui/feature-gates/feature-gate-abi.rs
src/test/ui/feature-gates/feature-gate-abi.stderr