summaryrefslogtreecommitdiff
path: root/src/tools/wasm2c.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm2c.cc')
-rw-r--r--src/tools/wasm2c.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/wasm2c.cc b/src/tools/wasm2c.cc
index f37c5c5b..7ed745f4 100644
--- a/src/tools/wasm2c.cc
+++ b/src/tools/wasm2c.cc
@@ -57,7 +57,8 @@ examples:
)";
static const std::string supported_features[] = {
- "multi-memory", "multi-value", "sign-extend", "saturating-float-to-int"};
+ "multi-memory", "multi-value", "sign-extend", "saturating-float-to-int",
+ "exceptions"};
static bool IsFeatureSupported(const std::string& feature) {
return std::find(std::begin(supported_features), std::end(supported_features),
@@ -105,7 +106,7 @@ static void ParseOptions(int argc, char** argv) {
if (any_non_supported_feature) {
fprintf(stderr,
- "wasm2c currently only supports a fixed set of features.\n");
+ "wasm2c currently only supports a limited set of features.\n");
exit(1);
}
s_features.disable_bulk_memory();