Add profile call

This commit is contained in:
Aleksey Kladov 2021-01-18 14:01:52 +03:00
parent 5e6e890947
commit cc963d2b11

View file

@ -537,6 +537,7 @@ fn sysroot_to_crate_graph(
}
fn get_rustc_cfg_options(target: Option<&str>) -> Vec<CfgFlag> {
let _p = profile::span("get_rustc_cfg_options");
let mut res = Vec::new();
// Some nightly-only cfgs, which are required for stdlib