about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-29 04:08:23 +0100
committerGitHub <noreply@github.com>2019-10-29 04:08:23 +0100
commit46063ed23fbcd50a7723ee6008e6d63605789e24 (patch)
tree3fe15cf8b6933e3d09330cf8f17516a5abe0803c /src/libstd/sys/unix/stack_overflow.rs
parent9c5b6b2201a3af818a6efb0650b1622a342f40f5 (diff)
parent1099826efa725b5de7833d42f2b96a53881e2118 (diff)
downloadrust-46063ed23fbcd50a7723ee6008e6d63605789e24.tar.gz
rust-46063ed23fbcd50a7723ee6008e6d63605789e24.zip
Rollup merge of #65809 - roblabla:eficall-abi, r=nagisa
Add new EFIAPI ABI

Fixes #54527

Adds a new ABI, "efiapi", which reflects the calling convention as specified by [the current spec UEFI spec](https://uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf#G6.999903). When compiling for x86_64, we should select the `win64` ABI, while on all other architectures (Itanium, x86, ARM and ARM64 and RISC-V), we should select the `C` ABI.

Currently, this is done by just turning it into the C ABI everywhere except on x86_64, where it's turned into the win64 ABI. Should we prevent this ABI from being used on unsupported architectures, and if so, how would this be done?
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions