diff options
| author | qjerome <qjerome@rawsec.lu> | 2025-01-08 14:47:21 +0100 |
|---|---|---|
| committer | qjerome <qjerome@rawsec.lu> | 2025-01-08 14:47:21 +0100 |
| commit | c59ecb3af45898ad2385be9fc945467af02a45b5 (patch) | |
| tree | c1595231fd0ff6cf6840d2a8fb3edfadfab08177 | |
| parent | 2be4ce099d4af070ba71481a048f175b2da9c1c0 (diff) | |
| download | rust-c59ecb3af45898ad2385be9fc945467af02a45b5.tar.gz rust-c59ecb3af45898ad2385be9fc945467af02a45b5.zip | |
fix: autogenerate files
| -rw-r--r-- | src/tools/rust-analyzer/docs/user/generated_config.adoc | 8 | ||||
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 13 |
2 files changed, 12 insertions, 9 deletions
diff --git a/src/tools/rust-analyzer/docs/user/generated_config.adoc b/src/tools/rust-analyzer/docs/user/generated_config.adoc index 5b86766aa8e..c6f5852f87f 100644 --- a/src/tools/rust-analyzer/docs/user/generated_config.adoc +++ b/src/tools/rust-analyzer/docs/user/generated_config.adoc @@ -94,10 +94,10 @@ avoid checking unnecessary things. -- Default: ---- -{ - "miri": null, - "debug_assertions": null -} +[ + "debug_assertion", + "miri" +] ---- List of cfg options to enable with the given values. diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 80246bf3fea..6cb74a94a00 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -791,11 +791,14 @@ "properties": { "rust-analyzer.cargo.cfgs": { "markdownDescription": "List of cfg options to enable with the given values.", - "default": { - "miri": null, - "debug_assertions": null - }, - "type": "object" + "default": [ + "debug_assertion", + "miri" + ], + "type": "array", + "items": { + "type": "string" + } } } }, |
