about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-05-17 12:28:04 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-06-12 15:58:35 +0000
commitf2545fb22554eb1b04528d490c681e583fdc31d0 (patch)
treeea8549a633134a21e24d3d44a881a025d0fa229a /compiler/rustc_interface/src/interface.rs
parentcb882fa998571e8a7ec1c06bb5d9dd9bc3423629 (diff)
downloadrust-f2545fb22554eb1b04528d490c681e583fdc31d0.tar.gz
rust-f2545fb22554eb1b04528d490c681e583fdc31d0.zip
Collect VTable stats & add `-Zprint-vtable-sizes`
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
-rw-r--r--compiler/rustc_interface/src/interface.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs
index 2edc72ba72e..5e3ea71f0e7 100644
--- a/compiler/rustc_interface/src/interface.rs
+++ b/compiler/rustc_interface/src/interface.rs
@@ -333,6 +333,7 @@ pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Se
                 };
 
                 let prof = compiler.sess.prof.clone();
+
                 prof.generic_activity("drop_compiler").run(move || drop(compiler));
                 r
             })