diff options
-rw-r--r-- | src/passes/MinifyImportsAndExports.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/passes/MinifyImportsAndExports.cpp b/src/passes/MinifyImportsAndExports.cpp index ec582a64e..60dd2cd80 100644 --- a/src/passes/MinifyImportsAndExports.cpp +++ b/src/passes/MinifyImportsAndExports.cpp @@ -41,8 +41,6 @@ namespace wasm { -static Name WASI_UNSTABLE("wasi_unstable"); - struct MinifyImportsAndExports : public Pass { bool minifyExports; @@ -162,7 +160,7 @@ private: } }; auto processImport = [&](Importable* curr) { - if (curr->module == ENV || curr->module == WASI_UNSTABLE) { + if (curr->module == ENV || curr->module.startsWith("wasi_")) { process(curr->base); } }; |