diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-14 01:59:00 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-30 19:41:31 +0200 |
| commit | 745dee9d3ee82558570ee7bd832ce81654ce4096 (patch) | |
| tree | aab3d6bacdd148183fe7bf279bb34d851ddab691 /scripts | |
| parent | 500e22e340ee260c3fcd0e34e20e5c5d71df04bf (diff) | |
| download | rust-745dee9d3ee82558570ee7bd832ce81654ce4096.tar.gz rust-745dee9d3ee82558570ee7bd832ce81654ce4096.zip | |
Move encode_metadata out of CrateStore.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/filter_profile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/filter_profile.rs b/scripts/filter_profile.rs index 7a51293f5cd..33814727eb1 100755 --- a/scripts/filter_profile.rs +++ b/scripts/filter_profile.rs @@ -96,7 +96,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { stack = &stack[..index + REPORT_SYMBOL_NAMES.len()]; } - const ENCODE_METADATA: &str = "rustc_middle::ty::context::TyCtxt::encode_metadata"; + const ENCODE_METADATA: &str = "rustc_metadata::encode_metadata"; if let Some(index) = stack.find(ENCODE_METADATA) { stack = &stack[..index + ENCODE_METADATA.len()]; } |
