093ec70b1e
Adds a new ABI for the EFIAPI calls. This ABI should reflect the latest version of the UEFI specification at the time of commit (UEFI spec 2.8, URL below). The specification says that for x86_64, we should follow the win64 ABI, while on all other supported platforms (ia32, itanium, arm, arm64 and risc-v), we should follow the C ABI. To simplify the implementation, we will simply follow the C ABI on all platforms except x86_64, even those technically unsupported by the UEFI specification. https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
11 lines
439 B
Plaintext
11 lines
439 B
Plaintext
error[E0703]: invalid ABI: found `路濫狼á́́`
|
|
--> $DIR/unicode.rs:1:8
|
|
|
|
|
LL | extern "路濫狼á́́" fn foo() {}
|
|
| ^^^^^^^^^ invalid ABI
|
|
|
|
|
= help: valid ABIs: cdecl, stdcall, fastcall, vectorcall, thiscall, aapcs, win64, sysv64, ptx-kernel, msp430-interrupt, x86-interrupt, amdgpu-kernel, efiapi, Rust, C, system, rust-intrinsic, rust-call, platform-intrinsic, unadjusted
|
|
|
|
error: aborting due to previous error
|
|
|