1
Fork 0

Stabilize checking of cfgs at compile-time: --check-cfg option

This commit is contained in:
Urgau 2024-02-25 14:56:14 +01:00
parent 99d0186b1d
commit 909fcfcb6a
55 changed files with 60 additions and 95 deletions

View file

@ -1373,7 +1373,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
opt::flag_s("h", "help", "Display this message"),
opt::multi_s("", "cfg", "Configure the compilation environment.
SPEC supports the syntax `NAME[=\"VALUE\"]`.", "SPEC"),
opt::multi("", "check-cfg", "Provide list of valid cfg options for checking", "SPEC"),
opt::multi_s("", "check-cfg", "Provide list of expected cfgs for checking", "SPEC"),
opt::multi_s(
"L",
"",