aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r--crates/ra_project_model/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index 2bb156610..6da4d7928 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -258,10 +258,7 @@ impl ProjectWorkspace {
258 let file_path = &krate.root_module; 258 let file_path = &krate.root_module;
259 let file_id = load(&file_path)?; 259 let file_id = load(&file_path)?;
260 260
261 let mut env = Env::default(); 261 let env = krate.env.clone().into_iter().collect();
262 for (k, v) in &krate.env {
263 env.set(k, v.clone());
264 }
265 let proc_macro = krate 262 let proc_macro = krate
266 .proc_macro_dylib_path 263 .proc_macro_dylib_path
267 .clone() 264 .clone()