summaryrefslogtreecommitdiff
path: root/src/js/binaryen.js-post.js
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-09-20 22:12:57 +0300
committerGitHub <noreply@github.com>2022-09-20 12:12:57 -0700
commit32e0fed9e6619d52dee8c3b1f256d812cf115cb0 (patch)
treedc272b4eccc32c390e200795ab9cb25764b58442 /src/js/binaryen.js-post.js
parentf1ed3126637e25fc86e5988541b762974d36257a (diff)
downloadbinaryen-32e0fed9e6619d52dee8c3b1f256d812cf115cb0.tar.gz
binaryen-32e0fed9e6619d52dee8c3b1f256d812cf115cb0.tar.bz2
binaryen-32e0fed9e6619d52dee8c3b1f256d812cf115cb0.zip
[C-/JS-Api] Expose the multi memories feature (#4973)
This finalizes the multi memories feature introduced in #4968.
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r--src/js/binaryen.js-post.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js
index 5634a8b9e..2568c6093 100644
--- a/src/js/binaryen.js-post.js
+++ b/src/js/binaryen.js-post.js
@@ -167,6 +167,7 @@ function initializeConstants() {
'RelaxedSIMD',
'ExtendedConst',
'Strings',
+ 'MultiMemories',
'All'
].forEach(name => {
Module['Features'][name] = Module['_BinaryenFeature' + name]();