mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 10:50:15 +00:00
Fix debug_assertions
broken in 1c5a125beb
This commit is contained in:
parent
132a2a03c4
commit
d71015d90d
3 changed files with 3 additions and 3 deletions
|
@ -582,7 +582,7 @@ config_data! {
|
|||
cargo_buildScripts_useRustcWrapper: bool = true,
|
||||
/// List of cfg options to enable with the given values.
|
||||
cargo_cfgs: Vec<String> = {
|
||||
vec!["debug_assertion".into(), "miri".into()]
|
||||
vec!["debug_assertions".into(), "miri".into()]
|
||||
},
|
||||
/// Extra arguments that are passed to every cargo invocation.
|
||||
cargo_extraArgs: Vec<String> = vec![],
|
||||
|
|
|
@ -95,7 +95,7 @@ avoid checking unnecessary things.
|
|||
Default:
|
||||
----
|
||||
[
|
||||
"debug_assertion",
|
||||
"debug_assertions",
|
||||
"miri"
|
||||
]
|
||||
----
|
||||
|
|
|
@ -816,7 +816,7 @@
|
|||
"rust-analyzer.cargo.cfgs": {
|
||||
"markdownDescription": "List of cfg options to enable with the given values.",
|
||||
"default": [
|
||||
"debug_assertion",
|
||||
"debug_assertions",
|
||||
"miri"
|
||||
],
|
||||
"type": "array",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue