diff options
Diffstat (limited to 'src/tools/tool-options.h')
-rw-r--r-- | src/tools/tool-options.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h index 8709fb07f..14cbf4aba 100644 --- a/src/tools/tool-options.h +++ b/src/tools/tool-options.h @@ -94,6 +94,26 @@ struct ToolOptions : public Options { .addFeature(FeatureSet::ExtendedConst, "extended const expressions") .addFeature(FeatureSet::Strings, "strings") .addFeature(FeatureSet::MultiMemories, "multi-memories") + .add("--enable-typed-function-references", + "", + "Deprecated compatibility flag", + ToolOptionsCategory, + Options::Arguments::Zero, + [](Options* o, const std::string& argument) { + std::cerr + << "Warning: Typed function references have been made part of " + "GC and --enable-typed-function-references is deprecated\n"; + }) + .add("--disable-typed-function-references", + "", + "Deprecated compatibility flag", + ToolOptionsCategory, + Options::Arguments::Zero, + [](Options* o, const std::string& argument) { + std::cerr + << "Warning: Typed function references have been made part of " + "GC and --disable-typed-function-references is deprecated\n"; + }) .add("--no-validation", "-n", "Disables validation, assumes inputs are correct", |