mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Wasm: move WasmModule definition to mod.rs
This commit is contained in:
parent
d88b86e884
commit
b8ab6af203
3 changed files with 104 additions and 97 deletions
|
@ -23,11 +23,11 @@ use crate::wasm_module::linking::{
|
|||
};
|
||||
use crate::wasm_module::sections::{
|
||||
CodeSection, DataMode, DataSection, DataSegment, ExportSection, FunctionSection, GlobalSection,
|
||||
Import, ImportDesc, ImportSection, MemorySection, OpaqueSection, TypeSection, WasmModule,
|
||||
Import, ImportDesc, ImportSection, MemorySection, OpaqueSection, TypeSection,
|
||||
};
|
||||
use crate::wasm_module::{
|
||||
code_builder, CodeBuilder, ConstExpr, Export, ExportType, Global, GlobalType, LocalId,
|
||||
Signature, SymInfo, ValueType,
|
||||
Signature, SymInfo, ValueType, WasmModule,
|
||||
};
|
||||
use crate::{
|
||||
copy_memory, round_up_to_alignment, CopyMemoryConfig, Env, BUILTINS_IMPORT_MODULE_NAME,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue