diff options
author | oxalica <[email protected]> | 2019-12-13 10:16:34 +0000 |
---|---|---|
committer | oxalica <[email protected]> | 2019-12-13 10:16:34 +0000 |
commit | af4eb266457eb784010da28d80535f9fd38d4d1e (patch) | |
tree | 8fb6f839a14985fa5dae695ff074495b87b8dd7a /crates/ra_lsp_server/src/main_loop.rs | |
parent | 5eb5e80de99338daceb82c933e366f95f7e1719c (diff) |
Support setting cargo features
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 158cac0be..965e7c53c 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -67,6 +67,7 @@ pub fn main_loop( | |||
67 | let workspace = ra_project_model::ProjectWorkspace::discover_with_sysroot( | 67 | let workspace = ra_project_model::ProjectWorkspace::discover_with_sysroot( |
68 | ws_root.as_path(), | 68 | ws_root.as_path(), |
69 | config.with_sysroot, | 69 | config.with_sysroot, |
70 | &config.cargo_features, | ||
70 | ); | 71 | ); |
71 | match workspace { | 72 | match workspace { |
72 | Ok(workspace) => loaded_workspaces.push(workspace), | 73 | Ok(workspace) => loaded_workspaces.push(workspace), |