Fix debug_assertions broken in 1c5a125beb

This commit is contained in:
VinTarZ 2025-01-16 14:19:16 +03:00 committed by GitHub
parent 132a2a03c4
commit d71015d90d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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![],

View file

@ -95,7 +95,7 @@ avoid checking unnecessary things.
Default: Default:
---- ----
[ [
"debug_assertion", "debug_assertions",
"miri" "miri"
] ]
---- ----

View file

@ -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",