Skip to content

Support both VaList::arg() and VaList::next_arg() nightly API #59

Description

@renkenono

VaList::arg() appears to be renamed to VaList::next_arg() in the current nightly which is 1.98.0-nightly (f28ac764c 2026-06-23) as of time of checking. Adding support for the latter would enable projects requiring such recent nightly versions to compile printf-compat with no issues.

I haven't done much research to see how we can determine the availability of methods at compile-time and/or perhaps merely introduce a feature flag to opt-in into the future next_arg API instead but any approach would be fine by me!

Again, thanks for the crate!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions