Make test crates only have dev dependencies and separate out wasm memory helper

This commit is contained in:
Brendan Hansknecht 2021-11-07 18:01:40 -08:00
parent c46b56bec8
commit 2ce945771e
10 changed files with 22 additions and 11 deletions

View file

@ -10,7 +10,7 @@ use roc_module::symbol::Symbol;
use roc_mono::ir::OptLevel;
use roc_types::subs::VarStore;
use target_lexicon::Triple;
use test_wasm::helpers::from_wasm32_memory::FromWasm32Memory;
use test_wasm_util::from_wasm32_memory::FromWasm32Memory;
fn promote_expr_to_module(src: &str) -> String {
let mut buffer = String::from("app \"test\" provides [ main ] to \"./platform\"\n\nmain =\n");