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
{{ message }}
Repository navigation
Tracking Issue: Drop va_arg macro when MSRV is Rust 1.99+ #1871
A change was addeed to patina_dxe_core/src/protocols.rs when updating to Rust 1.99 in that uses the new next_arg() method in 1.99+ and arg() in prior versions:
// `VaList::arg` was renamed to `next_arg` when `c_variadic` was stabilized in Rust 1.99.#[rustversion::since(1.99)]macro_rules! va_arg {($args:expr) => {
$args.next_arg()};}#[rustversion::before(1.99)]macro_rules! va_arg {($args:expr) => {
$args.arg()};}
This issue tracks cleaning this up to drop the macro when the MSRV is updated to Rust 1.99 or greater.
In addition, this code in patina_dxe_core/src/lib.rs can be cleaned up as well:
// `c_variadic` is stable in Rust 1.99+ but still required to build on the MSRV.// When the MSRV is updated to >=1.99, `allow(stable_features)` and `feature(c_variadic)`//can be removed.#![allow(stable_features)]
Activity