Update compiler/rustc_codegen_cranelift/scripts/filter_profile.rs
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
parent
ea6b7996b5
commit
79d14751a3
@ -96,7 +96,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
stack = &stack[..index + REPORT_SYMBOL_NAMES.len()];
|
||||
}
|
||||
|
||||
const ENCODE_METADATA: &str = "rustc_metadata::encode_metadata";
|
||||
const ENCODE_METADATA: &str = "rustc_metadata::rmeta::encoder::encode_metadata";
|
||||
if let Some(index) = stack.find(ENCODE_METADATA) {
|
||||
stack = &stack[..index + ENCODE_METADATA.len()];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user