mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Add profile call
This commit is contained in:
parent
5e6e890947
commit
cc963d2b11
1 changed files with 1 additions and 0 deletions
|
@ -537,6 +537,7 @@ fn sysroot_to_crate_graph(
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> {
|
fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> {
|
||||||
|
let _p = profile::span("get_rustc_cfg_options");
|
||||||
let mut res = Vec::new();
|
let mut res = Vec::new();
|
||||||
|
|
||||||
// Some nightly-only cfgs, which are required for stdlib
|
// Some nightly-only cfgs, which are required for stdlib
|
||||||
|
|
Loading…
Reference in a new issue