Skip to content

Commit cc963d2

Browse files
committed
Add profile call
1 parent 5e6e890 commit cc963d2

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)