mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default
This commit is contained in:
parent
21132a7a74
commit
7a66d99897
3 changed files with 4 additions and 4 deletions
|
@ -64,7 +64,7 @@ impl Default for CargoConfig {
|
|||
fn default() -> Self {
|
||||
CargoConfig {
|
||||
no_default_features: false,
|
||||
all_features: true,
|
||||
all_features: false,
|
||||
features: Vec::new(),
|
||||
load_out_dirs_from_check: false,
|
||||
target: None,
|
||||
|
|
|
@ -122,7 +122,7 @@ impl Default for Config {
|
|||
check: Some(FlycheckConfig::CargoCommand {
|
||||
command: "check".to_string(),
|
||||
all_targets: true,
|
||||
all_features: true,
|
||||
all_features: false,
|
||||
extra_args: Vec::new(),
|
||||
}),
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@
|
|||
},
|
||||
"rust-analyzer.cargo.allFeatures": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"description": "Activate all available features"
|
||||
},
|
||||
"rust-analyzer.cargo.features": {
|
||||
|
@ -319,7 +319,7 @@
|
|||
},
|
||||
"rust-analyzer.checkOnSave.allFeatures": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"markdownDescription": "Check with all features (will be passed as `--all-features`)"
|
||||
},
|
||||
"rust-analyzer.inlayHints.enable": {
|
||||
|
|
Loading…
Reference in a new issue