diff --git a/packages/vm/src/parsed_wasm.rs b/packages/vm/src/parsed_wasm.rs index 11c67210d..5de6de318 100644 --- a/packages/vm/src/parsed_wasm.rs +++ b/packages/vm/src/parsed_wasm.rs @@ -79,7 +79,7 @@ impl<'a> ParsedWasm<'a> { multi_value: true, floats: true, - reference_types: false, + reference_types: true, bulk_memory: false, simd: false, relaxed_simd: false, diff --git a/packages/vm/src/wasm_backend/gatekeeper.rs b/packages/vm/src/wasm_backend/gatekeeper.rs index ba0433b67..407261604 100644 --- a/packages/vm/src/wasm_backend/gatekeeper.rs +++ b/packages/vm/src/wasm_backend/gatekeeper.rs @@ -59,7 +59,7 @@ impl Default for Gatekeeper { Self::new(GatekeeperConfig { allow_floats: true, allow_feature_bulk_memory_operations: false, - allow_feature_reference_types: false, + allow_feature_reference_types: true, allow_feature_simd: false, allow_feature_exception_handling: false, allow_feature_threads: false,