mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +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
|
@ -45,6 +45,11 @@ pub struct Env<'a> {
|
|||
pub arena: &'a Bump,
|
||||
pub module_id: ModuleId,
|
||||
pub exposed_to_host: MutSet<Symbol>,
|
||||
pub stack_bytes: u32,
|
||||
}
|
||||
|
||||
impl Env<'_> {
|
||||
pub const DEFAULT_STACK_BYTES: u32 = 1024 * 1024;
|
||||
}
|
||||
|
||||
/// Parse the preprocessed host binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue