fn compile_with_progress_sync<F, T>( f: F, hash: &ModuleHash, name: Option<&str>, quiet_mode: bool, ) -> Twhere F: FnOnce() -> T,