Expand description
The printf formatting engine, walking the va.rs tag on stable Rust.
Vendored from the printf-compat crate, version 0.4.0, by lights0123
(https://github.com/lights0123/printf-compat), licensed MIT OR
Apache-2.0. The port replaces the crate’s nightly VaList argument
source with &mut crate::va::VaListTag (each next_arg call site
becomes a tag.arg::<T>() call), drops the VaList-holding display
adapter and the std-only io_write adapter that c-scape never used,
and replaces the parser’s itertools::tuple_windows walk with a
peekable iterator. The parsing and formatting behavior is otherwise
unchanged, including its documented differences from glibc (see
output::fmt_write).
This module is x86_64-only, like the walker it consumes; other
architectures keep formatting through the printf-compat crate itself
on the nightly VaList path.
Modules§
Functions§
- format⚠
- Parse a format parameter and write it somewhere.