Started rust-analyzer.cargo.defaultTarget implementation

This commit is contained in:
Christophe MASSOLIN 2020-04-27 00:11:04 +02:00
parent 5671bacfa6
commit b7edffe244
3 changed files with 21 additions and 0 deletions

View file

@ -134,6 +134,7 @@ impl Config {
set(value, "/cargo/allFeatures", &mut self.cargo.all_features);
set(value, "/cargo/features", &mut self.cargo.features);
set(value, "/cargo/loadOutDirsFromCheck", &mut self.cargo.load_out_dirs_from_check);
set(value, "/cargo/rustc/defaultTarget", &mut self.cargo.rustc.default_target);
match get(value, "/procMacro/enable") {
Some(true) => {