summaryrefslogtreecommitdiff
path: root/src/tools/wasm-dis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-dis.cpp')
-rw-r--r--src/tools/wasm-dis.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/wasm-dis.cpp b/src/tools/wasm-dis.cpp
index 6c8edffaf..fc07b771d 100644
--- a/src/tools/wasm-dis.cpp
+++ b/src/tools/wasm-dis.cpp
@@ -74,6 +74,12 @@ int main(int argc, const char* argv[]) {
options.applyFeatures(wasm);
+ // TODO: Validation. However, validating would mean that users are forced to
+ // run with wasm-dis -all or such, to enable the features (unless the
+ // features section is present, but that's rare in general). It would be
+ // better to have an "autodetect" code path that enables used features
+ // eventually.
+
if (options.debug) {
std::cerr << "Printing..." << std::endl;
}