Skip to content

Commit 8cc1012

Browse files
committed
Move monomorphize code to its own crate.
1 parent 0167838 commit 8cc1012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/filter_profile.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
4242
continue;
4343
}
4444

45-
if stack.contains("rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items")
45+
if stack.contains("rustc_monomorphize::partitioning::collect_and_partition_mono_items")
4646
|| stack.contains("rustc_incremental::assert_dep_graph::assert_dep_graph")
4747
|| stack.contains("rustc_symbol_mangling::test::report_symbol_names")
4848
{
@@ -81,7 +81,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
8181
}
8282

8383
const COLLECT_AND_PARTITION_MONO_ITEMS: &str =
84-
"rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items";
84+
"rustc_monomorphize::partitioning::collect_and_partition_mono_items";
8585
if let Some(index) = stack.find(COLLECT_AND_PARTITION_MONO_ITEMS) {
8686
stack = &stack[..index + COLLECT_AND_PARTITION_MONO_ITEMS.len()];
8787
}

0 commit comments

Comments
 (0)