summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-06-14 12:07:44 -0700
committerGitHub <noreply@github.com>2024-06-14 19:07:44 +0000
commit0fa99fb09b881985cf94e74b8c0b339bdef61be6 (patch)
tree81d1a340dc17a55e6b611962807dd34599757651 /src/tools
parent000fa2a8ac8dd66b8ca53b0451702966d59da4d0 (diff)
downloadbinaryen-0fa99fb09b881985cf94e74b8c0b339bdef61be6.tar.gz
binaryen-0fa99fb09b881985cf94e74b8c0b339bdef61be6.tar.bz2
binaryen-0fa99fb09b881985cf94e74b8c0b339bdef61be6.zip
[threads] Add a "shared-everything" feature (#6658)
Add the feature and flags to enable and disable it. Require the new feature to be enabled for shared heap types to validate. To make the test work, update the validator to actually check features for global types.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tool-options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h
index 599b3b22c..10a03acc7 100644
--- a/src/tools/tool-options.h
+++ b/src/tools/tool-options.h
@@ -94,6 +94,7 @@ struct ToolOptions : public Options {
.addFeature(FeatureSet::Strings, "strings")
.addFeature(FeatureSet::MultiMemory, "multimemory")
.addFeature(FeatureSet::TypedContinuations, "typed continuations")
+ .addFeature(FeatureSet::SharedEverything, "shared-everything threads")
.add("--enable-typed-function-references",
"",
"Deprecated compatibility flag",