summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-07-26 20:50:30 +0300
committerGitHub <noreply@github.com>2022-07-26 10:50:30 -0700
commit2886dd131eb99410e4fa87a291b07383f05abb16 (patch)
treec058e56d8526066409ac6b2739c234c6a343f79e /src/js
parente95d6592d5a89485200f4822198ec13993a3e302 (diff)
downloadbinaryen-2886dd131eb99410e4fa87a291b07383f05abb16.tar.gz
binaryen-2886dd131eb99410e4fa87a291b07383f05abb16.tar.bz2
binaryen-2886dd131eb99410e4fa87a291b07383f05abb16.zip
[C/JS API] Expose string reference feature (#4831)
Diffstat (limited to 'src/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 0be7f6ebd..43d34393b 100644
--- a/src/js/binaryen.js-post.js
+++ b/src/js/binaryen.js-post.js
@@ -150,6 +150,7 @@ function initializeConstants() {
'TypedFunctionReferences',
'RelaxedSIMD',
'ExtendedConst',
+ 'Strings',
'All'
].forEach(name => {
Module['Features'][name] = Module['_BinaryenFeature' + name]();