diff options
author | Aleksey Kladov <[email protected]> | 2021-01-18 11:01:52 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-18 11:01:52 +0000 |
commit | cc963d2b1190578ad9f1d1f4589e8ea2c98c1a14 (patch) | |
tree | ad899b4675ebf55d1ad06924bf629cec9964261d /crates/project_model/src | |
parent | 5e6e89094796ffae1631509909287bdedc85797f (diff) |
Add profile call
Diffstat (limited to 'crates/project_model/src')
-rw-r--r-- | crates/project_model/src/workspace.rs | 1 |
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 | ||
539 | fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> { | 539 | fn 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 |