diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-01-02 14:42:15 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-07 19:53:04 +0200 |
| commit | 8cc1012f3fdb68e4c52021f74d5c5d7018f281d4 (patch) | |
| tree | feb47939621c5d8841d11bbb9c5b6b51fab89cbf | |
| parent | 0167838a18bd10d680e8eb5855ef15fb45d3e1b1 (diff) | |
| download | rust-8cc1012f3fdb68e4c52021f74d5c5d7018f281d4.tar.gz rust-8cc1012f3fdb68e4c52021f74d5c5d7018f281d4.zip | |
Move monomorphize code to its own crate.
| -rwxr-xr-x | scripts/filter_profile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/filter_profile.rs b/scripts/filter_profile.rs index c4801a0a87b..7a51293f5cd 100755 --- a/scripts/filter_profile.rs +++ b/scripts/filter_profile.rs @@ -42,7 +42,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { continue; } - if stack.contains("rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items") + if stack.contains("rustc_monomorphize::partitioning::collect_and_partition_mono_items") || stack.contains("rustc_incremental::assert_dep_graph::assert_dep_graph") || stack.contains("rustc_symbol_mangling::test::report_symbol_names") { @@ -81,7 +81,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { } const COLLECT_AND_PARTITION_MONO_ITEMS: &str = - "rustc_mir::monomorphize::partitioning::collect_and_partition_mono_items"; + "rustc_monomorphize::partitioning::collect_and_partition_mono_items"; if let Some(index) = stack.find(COLLECT_AND_PARTITION_MONO_ITEMS) { stack = &stack[..index + COLLECT_AND_PARTITION_MONO_ITEMS.len()]; } |
