diff options
| author | bors <bors@rust-lang.org> | 2021-06-01 09:22:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-01 09:22:01 +0000 |
| commit | 1160cf864f2a0014e3442367e1b96496bfbeadf4 (patch) | |
| tree | e9fa8da926fdf33f4b0cd68b5267bf8c27ce8a01 /compiler/rustc_query_impl/src/profiling_support.rs | |
| parent | 80af6b091f6a4855be71bba1cd0c1ee9fd2a57a8 (diff) | |
| parent | 0f0f3138cb80137b9277b29118c05dbff9a8915e (diff) | |
| download | rust-1160cf864f2a0014e3442367e1b96496bfbeadf4.tar.gz rust-1160cf864f2a0014e3442367e1b96496bfbeadf4.zip | |
Auto merge of #85884 - rust-lang:revert-85153-qresolve, r=michaelwoerister
Revert "Reduce the amount of untracked state in TyCtxt" Reverts rust-lang/rust#85153 Fixes https://github.com/rust-lang/rust/issues/85878 The performance hit is massive, and was not visible in the in-review perf run. r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_query_impl/src/profiling_support.rs')
| -rw-r--r-- | compiler/rustc_query_impl/src/profiling_support.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/profiling_support.rs b/compiler/rustc_query_impl/src/profiling_support.rs index 95edc1e93a5..2517793ecea 100644 --- a/compiler/rustc_query_impl/src/profiling_support.rs +++ b/compiler/rustc_query_impl/src/profiling_support.rs @@ -61,7 +61,7 @@ impl<'p, 'c, 'tcx> QueryKeyStringBuilder<'p, 'c, 'tcx> { match def_key.disambiguated_data.data { DefPathData::CrateRoot => { - crate_name = self.tcx.crate_name(def_id.krate).as_str(); + crate_name = self.tcx.original_crate_name(def_id.krate).as_str(); name = &*crate_name; dis = ""; end_index = 3; |
