Skip to content

Commit e1190ba

Browse files
bors[bot]matklad
andauthored
Merge #7318
7318: Add profile call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 5e6e890 + cc963d2 commit e1190ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/project_model/src/workspace.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ fn sysroot_to_crate_graph(
537537
}
538538

539539
fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> {
540+
let _p = profile::span("get_rustc_cfg_options");
540541
let mut res = Vec::new();
541542

542543
// Some nightly-only cfgs, which are required for stdlib

0 commit comments

Comments
 (0)