mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Remove outDirOverrides
This commit is contained in:
parent
f84deffd72
commit
e154132c91
3 changed files with 0 additions and 15 deletions
|
@ -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<PackageId, PathBuf>,
|
||||
}
|
||||
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue