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 Mar 4, 2024
1 parent 1a97792 commit 5089d72
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 @@ -623,7 +623,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 @@ -642,7 +642,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 5089d72

Please sign in to comment.