From f2545fb22554eb1b04528d490c681e583fdc31d0 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Wed, 17 May 2023 12:28:04 +0000 Subject: Collect VTable stats & add `-Zprint-vtable-sizes` --- compiler/rustc_interface/src/interface.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_interface/src/interface.rs') 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(config: Config, f: impl FnOnce(&Compiler) -> R + Se }; let prof = compiler.sess.prof.clone(); + prof.generic_activity("drop_compiler").run(move || drop(compiler)); r }) -- cgit 1.4.1-3-g733a5