1
Fork 0

Gate fmt args flattening behind -Zflatten-format-args.

This commit is contained in:
Mara Bos 2023-03-16 11:13:07 +01:00
parent 1d59081bfd
commit 995e57b89e
3 changed files with 9 additions and 2 deletions

View file

@ -1422,6 +1422,9 @@ options! {
fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
"reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
(default: no)"),
flatten_format_args: bool = (false, parse_bool, [TRACKED],
"flatten nested format_args!() and literals into a simplified format_args!() call \
(default: no)"),
force_unstable_if_unmarked: bool = (false, parse_bool, [TRACKED],
"force all crates to be `rustc_private` unstable (default: no)"),
fuel: Option<(String, u64)> = (None, parse_optimization_fuel, [TRACKED],