Skip to content

Commit

Permalink
Merge pull request #18953 from VinTarZ/master
Browse files Browse the repository at this point in the history
Fix `debug_assertions` broken in 1c5a125
  • Loading branch information
lnicola authored Jan 16, 2025
2 parents 132a2a0 + d71015d commit 1f717b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![],
Expand Down
2 changes: 1 addition & 1 deletion docs/user/generated_config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ avoid checking unnecessary things.
Default:
----
[
"debug_assertion",
"debug_assertions",
"miri"
]
----
Expand Down
2 changes: 1 addition & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1f717b0

Please sign in to comment.