mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 19:12:50 +00:00
Correct "debug_assertion" to "debug_assertions" to match the cfg
option that the rust debug assert macros use.
This commit is contained in:
parent
733ef3163c
commit
f4ed2da966
@ -600,7 +600,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 New Issue
Block a user