mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix wasm linking bugs
This commit is contained in:
parent
a9ce02799c
commit
e2b95662a8
3 changed files with 22 additions and 10 deletions
|
@ -21,6 +21,9 @@ const PTR_TYPE: ValueType = ValueType::I32;
|
|||
|
||||
pub const STACK_POINTER_GLOBAL_ID: u32 = 0;
|
||||
pub const FRAME_ALIGNMENT_BYTES: i32 = 16;
|
||||
pub const MEMORY_NAME: &str = "memory";
|
||||
pub const BUILTINS_IMPORT_MODULE_NAME: &str = "builtins";
|
||||
pub const STACK_POINTER_NAME: &str = "__stack_pointer";
|
||||
|
||||
pub struct Env<'a> {
|
||||
pub arena: &'a Bump,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue