Skip to content

Commit

Permalink
hack: enable reference types
Browse files Browse the repository at this point in the history
See bytecodealliance#98 for more
context.
  • Loading branch information
TerrorJack committed Aug 21, 2024
1 parent 736ccef commit 842cb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ impl Wizer {
config.wasm_simd(self.wasm_simd.unwrap_or(DEFAULT_WASM_SIMD));

// Proposals that we should add support for.
config.wasm_reference_types(false);
config.wasm_reference_types(true);
config.wasm_threads(false);

Ok(config)
Expand All @@ -654,7 +654,7 @@ impl Wizer {
multi_value: self.wasm_multi_value.unwrap_or(DEFAULT_WASM_MULTI_VALUE),

// Proposals that we should add support for.
reference_types: false,
reference_types: true,
simd: self.wasm_simd.unwrap_or(DEFAULT_WASM_SIMD),
threads: false,
tail_call: false,
Expand Down

0 comments on commit 842cb0e

Please sign in to comment.