Implement --check-cfg option (RFC 3013)
Co-authored-by: Urgau <lolo.branstett@numericable.fr> Co-authored-by: Marcelina Kościelnicka <mwk@0x04.net>
This commit is contained in:
parent
6499c5e7fc
commit
3a73ca587b
27 changed files with 365 additions and 7 deletions
|
|
@ -250,6 +250,7 @@ crate fn create_config(
|
|||
interface::Config {
|
||||
opts: sessopts,
|
||||
crate_cfg: interface::parse_cfgspecs(cfgs),
|
||||
crate_check_cfg: interface::parse_check_cfg(vec![]),
|
||||
input,
|
||||
input_path: cpath,
|
||||
output_file: None,
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ crate fn run(options: RustdocOptions) -> Result<(), ErrorReported> {
|
|||
let config = interface::Config {
|
||||
opts: sessopts,
|
||||
crate_cfg: interface::parse_cfgspecs(cfgs),
|
||||
crate_check_cfg: interface::parse_check_cfg(vec![]),
|
||||
input,
|
||||
input_path: None,
|
||||
output_file: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue