This is a tracking issue for extending available ABIs for var-args functions to support aapcs, win64, sysv64 and efiapi.
The feature gate for the issue is #![feature(extended_varargs_abi_support)].
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Implementation history
Unresolved Questions
- should
extern "system" be included? the original feature only described itself as applying to extern "efiapi", extern "sysv64", and extern "win64", and later the feature described itself as applying to extern "aapcs", but the only case where extern "system" is meaningfully distinct is a case where it cannot be a vararg ABI. while MSVC sometimes translates __stdcall to be identical to the C ABI, we have previously rejected implementing MSVC's oddities:
This is a tracking issue for extending available ABIs for var-args functions to support
aapcs,win64,sysv64andefiapi.The feature gate for the issue is
#![feature(extended_varargs_abi_support)].About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Stabilizereverted by Revert "Stabilizeextended_varargs_abi_support#116161extended_varargs_abi_support" #136897Implementation history
extended_varargs_abi_support#116161extended_varargs_abi_support" #136897extern_system_varargsfeature #136948Unresolved Questions
extern "system"be included? the original feature only described itself as applying toextern "efiapi",extern "sysv64", andextern "win64", and later the feature described itself as applying toextern "aapcs", but the only case whereextern "system"is meaningfully distinct is a case where it cannot be a vararg ABI. while MSVC sometimes translates__stdcallto be identical to the C ABI, we have previously rejected implementing MSVC's oddities:unsupported_calling_conventions#87678Footnotes
this was not recorded as part of the impl history until after it was discovered this feature was initially stabilized without an FCP. ↩