the setup

This commit is contained in:
Folkert 2022-03-17 18:24:22 +01:00
parent dca9404772
commit 8144d7b390
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 80 additions and 1 deletions

View file

@ -2039,6 +2039,12 @@ fn finish_specialization(
subs: Subs,
exposed_to_host: ExposedToHost,
) -> Result<MonomorphizedModule, LoadingProblem> {
if true {
println!(
"total Type clones: {} ",
roc_types::types::get_type_clone_count()
);
}
let module_ids = Arc::try_unwrap(state.arc_modules)
.unwrap_or_else(|_| panic!("There were still outstanding Arc references to module_ids"))
.into_inner()