diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/wasm-opt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/wasm-opt.cpp b/src/tools/wasm-opt.cpp index 7d35efeab..421bcca59 100644 --- a/src/tools/wasm-opt.cpp +++ b/src/tools/wasm-opt.cpp @@ -137,6 +137,8 @@ int main(int argc, const char* argv[]) { // It should be safe to just always enable atomics in wasm-opt, because we // don't expect any passes to accidentally generate atomic ops FeatureSet features = Feature::Atomics; + // Same for MutableGlobals + features |= Feature::MutableGlobals; if (options.debug) std::cerr << "reading...\n"; |