Skip to content

Commit

Permalink
CLI: enable Wasm custom-page-sizes proposal by default (#1363)
Browse files Browse the repository at this point in the history
CLI: enable custom-page-sizes proposal by default

We do not (yet) have CLI options to enable or disable Wasm proposals, so it is more usable to just enable all available ones at the moment so users can try them out.
  • Loading branch information
Robbepop authored Feb 5, 2025
1 parent 79170ab commit 0a2b006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/cli/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl Context {
config.consume_fuel(true);
}
config.compilation_mode(compilation_mode);
config.wasm_custom_page_sizes(true);
let engine = wasmi::Engine::new(&config);
let wasm =
fs::read(wasm_file).map_err(|_| anyhow!("failed to read Wasm file {wasm_file:?}"))?;
Expand Down

0 comments on commit 0a2b006

Please sign in to comment.