stop passing stdlib (use lazy_static)

This commit is contained in:
Folkert 2022-03-22 19:53:02 +01:00
parent f25afe4629
commit d8fa2b8d92
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
12 changed files with 14 additions and 89 deletions

View file

@ -47,7 +47,6 @@ pub fn compile_to_mono<'a>(
target_info: TargetInfo,
palette: Palette,
) -> Result<MonomorphizedModule<'a>, Vec<String>> {
let stdlib = arena.alloc(roc_builtins::std::standard_stdlib());
let filename = PathBuf::from("REPL.roc");
let src_dir = Path::new("fake/test/path");
@ -58,7 +57,6 @@ pub fn compile_to_mono<'a>(
arena,
filename,
module_src,
stdlib,
src_dir,
exposed_types,
target_info,