mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Merge #4824
4824: Correct "debug_assertion" to "debug_assertions" to match the cfg that the rust debug assert macros use. r=matklad a=woody77 This is for #4823. Co-authored-by: Aaron Wood <aaronwood@google.com>
This commit is contained in:
commit
c9fc7251ca
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ fn get_rustc_cfg_options(target: Option<&str>) -> CfgOptions {
|
||||||
Err(e) => log::error!("failed to get rustc cfgs: {:#}", e),
|
Err(e) => log::error!("failed to get rustc cfgs: {:#}", e),
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg_options.insert_atom("debug_assertion".into());
|
cfg_options.insert_atom("debug_assertions".into());
|
||||||
|
|
||||||
cfg_options
|
cfg_options
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue