From e154132c911be41b75e84d01de5c7efa4da9168e Mon Sep 17 00:00:00 2001 From: Emil Lauridsen Date: Tue, 17 Mar 2020 14:55:44 +0100 Subject: Remove outDirOverrides --- crates/ra_project_model/src/cargo_workspace.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crates/ra_project_model') diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs index 97fa48b8b..eeeb10233 100644 --- a/crates/ra_project_model/src/cargo_workspace.rs +++ b/crates/ra_project_model/src/cargo_workspace.rs @@ -39,9 +39,6 @@ pub struct CargoFeatures { /// Runs cargo check on launch to figure out the correct values of OUT_DIR pub load_out_dirs_from_check: bool, - - /// Fine grained controls for additional `OUT_DIR` env variables - pub out_dir_overrides: FxHashMap, } impl Default for CargoFeatures { @@ -51,7 +48,6 @@ impl Default for CargoFeatures { all_features: true, features: Vec::new(), load_out_dirs_from_check: false, - out_dir_overrides: FxHashMap::default(), } } } @@ -195,10 +191,6 @@ impl CargoWorkspace { if cargo_features.load_out_dirs_from_check { out_dir_by_id = load_out_dirs(cargo_toml, cargo_features); } - // We explicitly extend afterwards to allow overriding the value returned by cargo - out_dir_by_id.extend( - cargo_features.out_dir_overrides.iter().map(|(id, path)| (id.clone(), path.clone())), - ); let mut pkg_by_id = FxHashMap::default(); let mut packages = Arena::default(); -- cgit v1.2.3