wasm: add stack_bytes field to Env

This commit is contained in:
Brian Carroll 2022-08-08 21:41:25 +01:00
parent 11929a7b6d
commit dd040d5f73
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
6 changed files with 10 additions and 3 deletions

View file

@ -474,6 +474,7 @@ fn gen_from_mono_module_dev_wasm32(
arena,
module_id,
exposed_to_host,
stack_bytes: roc_gen_wasm::Env::DEFAULT_STACK_BYTES,
};
let host_bytes = std::fs::read(preprocessed_host_path).unwrap_or_else(|_| {