Do not make LayoutInterner mutable

This commit is contained in:
Ayaz Hafiz 2023-06-16 22:32:13 -05:00
parent c81a652aaa
commit 41597cbab7
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
12 changed files with 146 additions and 146 deletions

View file

@ -193,7 +193,7 @@ fn mono_module_to_dylib<'a>(
entry_point,
interns,
subs,
mut layout_interner,
layout_interner,
..
} = loaded;
@ -246,7 +246,7 @@ fn mono_module_to_dylib<'a>(
let (main_fn_name, main_fn) = roc_gen_llvm::llvm::build::build_procedures_return_main(
&env,
&mut layout_interner,
&layout_interner,
opt_level,
procedures,
entry_point,