mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Auto merge of #17102 - davidbarsky:david/add-some-tracing-to-project-loading, r=lnicola
chore: add some `tracing` to project loading I wanted to see what's happening during project loading and if it could be parallelized. I'm thinking maybe, but it's not this PR :)
This commit is contained in:
commit
e31c9f3fe1
7 changed files with 33 additions and 5 deletions
|
@ -15,6 +15,7 @@ use rustc_hash::{FxHashMap, FxHashSet};
|
|||
use semver::Version;
|
||||
use span::Edition;
|
||||
use toolchain::Tool;
|
||||
use tracing::instrument;
|
||||
use triomphe::Arc;
|
||||
|
||||
use crate::{
|
||||
|
@ -885,6 +886,7 @@ impl ProjectWorkspace {
|
|||
}
|
||||
}
|
||||
|
||||
#[instrument(skip_all)]
|
||||
fn project_json_to_crate_graph(
|
||||
rustc_cfg: Vec<CfgFlag>,
|
||||
load: FileLoader<'_>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue