conditionally leak memory

This commit is contained in:
Folkert 2020-08-01 21:37:54 +02:00
parent 5d22b6a9cf
commit 5548bf136d
6 changed files with 372 additions and 7 deletions

View file

@ -157,6 +157,7 @@ pub fn gen(
interns: loaded.interns,
module: arena.alloc(module),
ptr_bytes,
leak: false,
};
let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();
let mut layout_ids = LayoutIds::default();