Use the actual computed crate name for -Zprint-vtable-sizes
This commit is contained in:
parent
1a1b10fa63
commit
ba82056a14
3 changed files with 14 additions and 14 deletions
|
@ -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<_>>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue