mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
move wasm_module out of gen_wasm
This commit is contained in:
parent
b907f01f1f
commit
63d9187343
17 changed files with 43 additions and 21 deletions
|
@ -3,7 +3,6 @@ mod backend;
|
|||
mod layout;
|
||||
mod low_level;
|
||||
mod storage;
|
||||
pub mod wasm_module;
|
||||
|
||||
// Helpers for interfacing to a Wasm module from outside
|
||||
pub mod wasm32_result;
|
||||
|
@ -19,10 +18,10 @@ use roc_mono::code_gen_help::CodeGenHelp;
|
|||
use roc_mono::ir::{Proc, ProcLayout};
|
||||
use roc_mono::layout::{LayoutIds, STLayoutInterner};
|
||||
use roc_target::TargetInfo;
|
||||
use wasm_module::parse::ParseError;
|
||||
use roc_wasm_module::parse::ParseError;
|
||||
|
||||
use crate::backend::{ProcLookupData, ProcSource, WasmBackend};
|
||||
use crate::wasm_module::{Align, CodeBuilder, LocalId, ValueType, WasmModule};
|
||||
use roc_wasm_module::{Align, CodeBuilder, LocalId, ValueType, WasmModule};
|
||||
|
||||
const TARGET_INFO: TargetInfo = TargetInfo::default_wasm32();
|
||||
const PTR_SIZE: u32 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue