Move some wasm constants and macros

This commit is contained in:
Brian Carroll 2022-11-13 09:03:26 +00:00
parent 63d9187343
commit 2e67bdf4d0
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
4 changed files with 31 additions and 29 deletions

View file

@ -19,8 +19,8 @@ use crate::layout::{CallConv, ReturnMethod, WasmLayout};
use crate::low_level::{call_higher_order_lowlevel, LowLevelCall};
use crate::storage::{AddressValue, Storage, StoredValue, StoredVarKind};
use crate::{
copy_memory, round_up_to_alignment, CopyMemoryConfig, Env, DEBUG_SETTINGS, MEMORY_NAME,
PTR_SIZE, PTR_TYPE, TARGET_INFO,
copy_memory, CopyMemoryConfig, Env, DEBUG_SETTINGS, MEMORY_NAME, PTR_SIZE, PTR_TYPE,
TARGET_INFO,
};
use roc_wasm_module::linking::{DataSymbol, WasmObjectSymbol};
use roc_wasm_module::sections::{
@ -28,7 +28,8 @@ use roc_wasm_module::sections::{
MemorySection, NameSection,
};
use roc_wasm_module::{
code_builder, CodeBuilder, ExportType, LocalId, Signature, SymInfo, ValueType, WasmModule,
code_builder, round_up_to_alignment, CodeBuilder, ExportType, LocalId, Signature, SymInfo,
ValueType, WasmModule,
};
#[derive(Clone, Copy, Debug)]