mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
wasm: add stack_bytes field to Env
This commit is contained in:
parent
11929a7b6d
commit
dd040d5f73
6 changed files with 10 additions and 3 deletions
|
@ -122,6 +122,7 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32Result>(
|
|||
arena,
|
||||
module_id,
|
||||
exposed_to_host,
|
||||
stack_bytes: roc_gen_wasm::Env::DEFAULT_STACK_BYTES,
|
||||
};
|
||||
|
||||
let host_module = roc_gen_wasm::parse_host(env.arena, host_bytes).unwrap_or_else(|e| {
|
||||
|
|
|
@ -161,6 +161,7 @@ impl<'a> BackendInputs<'a> {
|
|||
arena,
|
||||
module_id,
|
||||
exposed_to_host,
|
||||
stack_bytes: Env::DEFAULT_STACK_BYTES,
|
||||
};
|
||||
|
||||
// Identifier stuff for the backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue