From aefa094ea44619a410218ab754c6b58ac3a49683 Mon Sep 17 00:00:00 2001 From: Marcus Better Date: Tue, 27 Dec 2022 10:57:42 -0500 Subject: Enable features in libwabt.js by default (#2109) This applies the same defaults for features in the JavaScript-compiled version as the native tools. Without this change, enabling only the "reference_types" feature did not work, as it got turned off due to the dependency on "bulk_memory", which is counter-intuitive (see Features::UpdateDependencies()). Additionally, exposes all the features and their default setting in JavaScript. --- docs/demo/wasm2wat/index.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'docs/demo/wasm2wat/index.html') diff --git a/docs/demo/wasm2wat/index.html b/docs/demo/wasm2wat/index.html index 88d56648..766fb995 100644 --- a/docs/demo/wasm2wat/index.html +++ b/docs/demo/wasm2wat/index.html @@ -42,17 +42,25 @@
Enabled features:
- + -
-
+ +
+
+ + + + + + +
-- cgit v1.2.3