aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-30 22:23:41 +0100
committerGitHub <[email protected]>2020-07-30 22:23:41 +0100
commit6b7cb8b5ab539fc4333ce34bc29bf77c976f232a (patch)
treeaacfaafe346349d6cb34371b0cdc0ec780c3085e /editors/code
parent7d18109af47dfe993bcb1122c051ef96da63561b (diff)
parent2e562c158fd43d105c0c3f035aafe24c0e648b1e (diff)
Merge #5596
5596: Add checkOnSave.noDefaultFeatures and correct, how we handle some cargo flags. r=clemenswasser a=clemenswasser This PR adds the `rust-analyzer.checkOnSave.noDefaultFeatures` option and fixes the handling of `cargo.allFeatures`, `cargo.noDefaultFeatures` and `cargo.features`. Fixes: #5550 Co-authored-by: Clemens Wasser <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 658c913fd..1adf055d0 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -323,6 +323,14 @@
323 "default": true, 323 "default": true,
324 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)" 324 "markdownDescription": "Check all targets and tests (will be passed as `--all-targets`)"
325 }, 325 },
326 "rust-analyzer.checkOnSave.noDefaultFeatures": {
327 "type": [
328 "null",
329 "boolean"
330 ],
331 "default": null,
332 "markdownDescription": "Do not activate the `default` feature"
333 },
326 "rust-analyzer.checkOnSave.allFeatures": { 334 "rust-analyzer.checkOnSave.allFeatures": {
327 "type": [ 335 "type": [
328 "null", 336 "null",