mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +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
|
@ -213,6 +213,7 @@ pub async fn entrypoint_from_js(src: String) -> Result<String, String> {
|
|||
let env = roc_gen_wasm::Env {
|
||||
arena,
|
||||
module_id,
|
||||
stack_bytes: roc_gen_wasm::Env::DEFAULT_STACK_BYTES,
|
||||
exposed_to_host: exposed_to_host
|
||||
.values
|
||||
.keys()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue