aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/project_model/src')
-rw-r--r--crates/project_model/src/workspace.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/project_model/src/workspace.rs b/crates/project_model/src/workspace.rs
index c511320d7..bd990594b 100644
--- a/crates/project_model/src/workspace.rs
+++ b/crates/project_model/src/workspace.rs
@@ -537,6 +537,7 @@ fn sysroot_to_crate_graph(
537} 537}
538 538
539fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> { 539fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> {
540 let _p = profile::span("get_rustc_cfg_options");
540 let mut res = Vec::new(); 541 let mut res = Vec::new();
541 542
542 // Some nightly-only cfgs, which are required for stdlib 543 // Some nightly-only cfgs, which are required for stdlib