1
Fork 0

Fix debug_assertions broken in 1c5a125beb35725ccc2ade005db9870db734bf23

This commit is contained in:
VinTarZ 2025-01-16 14:19:16 +03:00 committed by GitHub
parent fa71da9ff0
commit 824bad7f65
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,
/// 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![],

View file

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

View file

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