aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-01-18 11:02:19 +0000
committerGitHub <[email protected]>2021-01-18 11:02:19 +0000
commite1190bac642b27804be5e9bfa0c36159229757b3 (patch)
treead899b4675ebf55d1ad06924bf629cec9964261d /crates
parent5e6e89094796ffae1631509909287bdedc85797f (diff)
parentcc963d2b1190578ad9f1d1f4589e8ea2c98c1a14 (diff)
Merge #7318
7318: Add profile call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-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