Skip to content

Commit

Permalink
Add max_heap_size to Dist.make_module_config
Browse files Browse the repository at this point in the history
  • Loading branch information
folex authored Feb 8, 2022
1 parent 83efd3d commit c64babf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builtin.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ service Dist("dist"):
-- call /usr/bin/curl binary as function 'curl'
-- logging_mask - Binary mask to enable & disable logging targets. Targets are
-- configured in WasmLoggerBuilder::with_target_map
-- mem_pages_count - Maximum memory size accessible by a module in Wasm pages (64 Kb)
make_module_config(name: string, mem_pages_count: ?u32, logger_enabled: ?bool, preopened_files: ?[]string, envs: ?Pairs, mapped_dirs: ?Pairs, mounted_binaries: ?Pairs, logging_mask: ?i32) -> ModuleConfig
-- mem_pages_count - (deprecated) Maximum memory size accessible by a module in Wasm pages (64 Kb)
-- max_heap_size - Maximum module heap size, in bytes
make_module_config(name: string, mem_pages_count: ?u32, max_heap_size: ?string, logger_enabled: ?bool, preopened_files: ?[]string, envs: ?Pairs, mapped_dirs: ?Pairs, mounted_binaries: ?Pairs, logging_mask: ?i32) -> ModuleConfig

-- Constructs a ModuleConfig structure
-- Arguments:
Expand Down

0 comments on commit c64babf

Please sign in to comment.