Fix some test helpers

This commit is contained in:
Richard Feldman 2022-11-24 15:27:54 -05:00
parent b9b03d432a
commit 8db6cde08d
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@ use libloading::Library;
use roc_build::link::{link, LinkType};
use roc_builtins::bitcode;
use roc_load::{EntryPoint, ExecutionMode, LoadConfig, Threading};
use roc_packaging::cache::RocCacheDir;
use roc_region::all::LineInfo;
use tempfile::tempdir;
@ -63,6 +64,7 @@ pub fn helper(
module_src,
src_dir,
Default::default(),
RocCacheDir::Disallowed,
load_config,
);

View File

@ -4,6 +4,7 @@ use roc_collections::all::MutSet;
use roc_gen_wasm::wasm32_result::Wasm32Result;
use roc_gen_wasm::DEBUG_SETTINGS;
use roc_load::{ExecutionMode, LoadConfig, Threading};
use roc_packaging::cache::RocCacheDir;
use roc_reporting::report::DEFAULT_PALETTE_HTML;
use roc_wasm_module::{Export, ExportType};
use std::marker::PhantomData;
@ -98,6 +99,7 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32Result>(
module_src,
src_dir,
Default::default(),
RocCacheDir::Disallowed,
load_config,
);