1
Fork 0

Use the actual computed crate name for -Zprint-vtable-sizes

This commit is contained in:
bjorn3 2023-11-04 18:12:22 +00:00
parent 1a1b10fa63
commit ba82056a14
3 changed files with 14 additions and 14 deletions

View file

@ -226,7 +226,7 @@ impl CodeStats {
}
}
pub fn print_vtable_sizes(&self, crate_name: &str) {
pub fn print_vtable_sizes(&self, crate_name: Symbol) {
let mut infos =
std::mem::take(&mut *self.vtable_sizes.lock()).into_values().collect::<Vec<_>>();