You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is merely a tracking issue on our usage of this unstable rustc feature. No action on your part is needed. I only assigned it to you as I thought you did the initial implementation. If you did not, then I'll re-assign.
It looks like the upstream c_variadic is thru final comment period and will stabilize soon: rust-lang/rust#44930. There's a bit of discussion of "efiapi" in the stabilization thread, but it's not clear to me whether "efiapi" will support it once it stabilizes. Will need to do a bit more digging on that.
The targets we support (x64 and aarch64 uefi targets) empirically have correct behavior with extern "c" variadics in the environments we use - so I'd propose that we move forward with that as "stable" once the upstream c_variadics stablizes (which looks soon as noted).
If we a) start supporting new targets (e.g. 32-bit arm) where extern "c" variadics produce incorrect code, or b) "efiapi" also stablizes variadics, then we can revisit and take appropriate action (moving to "efiapi" preferable if it supports variadics - moving to hand built-asm as needed if not).
Activity
joschock commentedon Oct 2, 2025
note: this would require an upstream change in r-efi to redefine these functions in variadic terms:
https://github.com/r-efi/r-efi/blob/97b55bed1c2c91dcbf787674849f05337ff80b33/src/system.rs#L992
Javagedes commentedon Oct 2, 2025
This is merely a tracking issue on our usage of this unstable rustc feature. No action on your part is needed. I only assigned it to you as I thought you did the initial implementation. If you did not, then I'll re-assign.
Again, no action needed regardless
joschock commentedon Jun 17, 2026
It looks like the upstream c_variadic is thru final comment period and will stabilize soon: rust-lang/rust#44930. There's a bit of discussion of "efiapi" in the stabilization thread, but it's not clear to me whether "efiapi" will support it once it stabilizes. Will need to do a bit more digging on that.
The targets we support (x64 and aarch64 uefi targets) empirically have correct behavior with extern "c" variadics in the environments we use - so I'd propose that we move forward with that as "stable" once the upstream c_variadics stablizes (which looks soon as noted).
If we a) start supporting new targets (e.g. 32-bit arm) where extern "c" variadics produce incorrect code, or b) "efiapi" also stablizes variadics, then we can revisit and take appropriate action (moving to "efiapi" preferable if it supports variadics - moving to hand built-asm as needed if not).
os-d commentedon Aug 3, 2026
The feature has been stabilized and is being tracked for Rust 1.99.0: https://github.com/rust-lang/rust/milestone/147.
Javagedes commentedon Oct 2, 2026
Rust 1.99.0 was released on Oct 1. We should be able to update and remove this unstable feature.
makubacki commentedon Oct 2, 2026
Rust version update is tracked in #1797.
makubacki commentedon Oct 12, 2026
Rust 1.99.0 update is in Update the repo toolchain to Rust 1.99.0 [Rebase & FF] #1869. Maintains an MSRV of Rust 1.90.0.
Tracking of backward compat code removal tracked in Tracking Issue: Drop va_arg macro when MSRV is Rust 1.99+
against the MSRV Bump (1.99.0) milestone.