remove argument from load_and_monomorphize

This commit is contained in:
Folkert 2022-12-24 14:39:30 +01:00
parent 92da3973e7
commit e44bf59334
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 4 additions and 13 deletions

View file

@ -121,11 +121,9 @@ pub fn generate_stub_lib(
// But hopefully it will be removable once we have surgical linking on all platforms.
let target_info = triple.into();
let arena = &bumpalo::Bump::new();
let subs_by_module = Default::default();
let loaded = roc_load::load_and_monomorphize(
arena,
input_path.to_path_buf(),
subs_by_module,
roc_cache_dir,
LoadConfig {
target_info,