about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2022-11-10 10:47:39 -0500
committerGitHub <noreply@github.com>2022-11-10 10:47:39 -0500
commit8f2c1f846945c24aeaf773c9b3c76ddae98db36c (patch)
treeb2cdc518fe6b9117daa86fe123dc43dd1f94b3ca /compiler/rustc_parse/src
parent150e0ec393031ede36de981363b7b9422cfcaf3a (diff)
parent42cbb401574b494c5da7a58cb2485be54992babd (diff)
downloadrust-8f2c1f846945c24aeaf773c9b3c76ddae98db36c.tar.gz
rust-8f2c1f846945c24aeaf773c9b3c76ddae98db36c.zip
Rollup merge of #104077 - nicholasbishop:bishop-uefi-aapcs, r=nagisa
Use aapcs for efiapi calling convention on arm

On arm, [llvm treats the C calling convention as `aapcs` on soft-float targets and `aapcs-vfp` on hard-float targets](https://github.com/rust-lang/compiler-builtins/issues/116#issuecomment-261057422). UEFI specifies in the arm calling convention that [floating point extensions aren't used](https://uefi.org/specs/UEFI/2.10/02_Overview.html#detailed-calling-convention), so always translate `efiapi` to `aapcs` on arm.

https://github.com/rust-lang/rust/issues/65815
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions