summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2024-10-30 16:20:38 -0700
committerGitHub <noreply@github.com>2024-10-30 23:20:38 +0000
commit39bf87eb39543ca14198a16533f262a147816793 (patch)
tree005704ede1e010094524df8bec06562ef527d488 /src/tools
parenta0f77adf4f05b47c5f2ecf87279f191195880393 (diff)
downloadbinaryen-39bf87eb39543ca14198a16533f262a147816793.tar.gz
binaryen-39bf87eb39543ca14198a16533f262a147816793.tar.bz2
binaryen-39bf87eb39543ca14198a16533f262a147816793.zip
Don't strip target features in wasm-emscripten-finalize (#7043)
This makes the behavior consistent with emcc builds where we don't run finalization, and potentially makes testing and debugging easier. Emscripten still strips the target features section when optimizing.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/wasm-emscripten-finalize.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/wasm-emscripten-finalize.cpp b/src/tools/wasm-emscripten-finalize.cpp
index 505e78349..53e3be196 100644
--- a/src/tools/wasm-emscripten-finalize.cpp
+++ b/src/tools/wasm-emscripten-finalize.cpp
@@ -266,8 +266,6 @@ int main(int argc, const char* argv[]) {
passRunner.add("legalize-js-interface");
}
- passRunner.add("strip-target-features");
-
// If DWARF is unused, strip it out. This avoids us keeping it alive
// until wasm-opt strips it later.
if (!DWARF) {