1
Fork 0

Wire up --check-cfg to rustdoc

This commit is contained in:
Loïc BRANSTETT 2022-02-19 14:31:20 +01:00
parent 4e82f35492
commit 97059397ca
11 changed files with 66 additions and 2 deletions

View file

@ -259,6 +259,7 @@ fn opts() -> Vec<RustcOptGroup> {
o.optmulti("L", "library-path", "directory to add to crate search path", "DIR")
}),
stable("cfg", |o| o.optmulti("", "cfg", "pass a --cfg to rustc", "")),
unstable("check-cfg", |o| o.optmulti("", "check-cfg", "pass a --check-cfg to rustc", "")),
stable("extern", |o| o.optmulti("", "extern", "pass an --extern to rustc", "NAME[=PATH]")),
unstable("extern-html-root-url", |o| {
o.optmulti(