mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +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,
|
cargo_buildScripts_useRustcWrapper: bool = true,
|
||||||
/// List of cfg options to enable with the given values.
|
/// List of cfg options to enable with the given values.
|
||||||
cargo_cfgs: Vec<String> = {
|
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.
|
/// Extra arguments that are passed to every cargo invocation.
|
||||||
cargo_extraArgs: Vec<String> = vec![],
|
cargo_extraArgs: Vec<String> = vec![],
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ avoid checking unnecessary things.
|
||||||
Default:
|
Default:
|
||||||
----
|
----
|
||||||
[
|
[
|
||||||
"debug_assertion",
|
"debug_assertions",
|
||||||
"miri"
|
"miri"
|
||||||
]
|
]
|
||||||
----
|
----
|
||||||
|
|
|
||||||
|
|
@ -816,7 +816,7 @@
|
||||||
"rust-analyzer.cargo.cfgs": {
|
"rust-analyzer.cargo.cfgs": {
|
||||||
"markdownDescription": "List of cfg options to enable with the given values.",
|
"markdownDescription": "List of cfg options to enable with the given values.",
|
||||||
"default": [
|
"default": [
|
||||||
"debug_assertion",
|
"debug_assertions",
|
||||||
"miri"
|
"miri"
|
||||||
],
|
],
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue