diff options
author | Sam Clegg <sbc@chromium.org> | 2022-03-19 02:29:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 02:29:35 +0000 |
commit | d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20 (patch) | |
tree | 3f6c5dafbf558d29e0bf72a33be973d55d6c10ef /src/tools | |
parent | 88c2e4377df7dbe65bc8ef629ea409cd9df6a860 (diff) | |
download | binaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.tar.gz binaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.tar.bz2 binaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.zip |
Add support for extended-const proposal (#4529)
See https://github.com/WebAssembly/extended-const
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tool-options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h index f8278e950..bc948fc97 100644 --- a/src/tools/tool-options.h +++ b/src/tools/tool-options.h @@ -93,6 +93,7 @@ struct ToolOptions : public Options { "typed function references") .addFeature(FeatureSet::GCNNLocals, "GC non-null locals") .addFeature(FeatureSet::RelaxedSIMD, "relaxed SIMD") + .addFeature(FeatureSet::ExtendedConst, "extended const expressions") .add("--no-validation", "-n", "Disables validation, assumes inputs are correct", |