summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-03-14 18:23:59 -0700
committerGitHub <noreply@github.com>2019-03-14 18:23:59 -0700
commitfc085c0971029bd5fe2bf66074c467f304dfc1e4 (patch)
tree5859683dc65e7487e8be8db9979cb5611d7485c9 /src/wasm
parentd9cdee0437ebee89377d361e5a9320b44f252152 (diff)
downloadbinaryen-fc085c0971029bd5fe2bf66074c467f304dfc1e4.tar.gz
binaryen-fc085c0971029bd5fe2bf66074c467f304dfc1e4.tar.bz2
binaryen-fc085c0971029bd5fe2bf66074c467f304dfc1e4.zip
Add strip-target-features pass (#1946)
And run it in wasm-emscripten-finalize. This will prevent the emscripten output from changing when the target features section lands in LLVM.
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index c12481760..c99bb0994 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -32,6 +32,7 @@ const char* SourceMapUrl = "sourceMappingURL";
const char* Dylink = "dylink";
const char* Linking = "linking";
const char* Producers = "producers";
+const char* TargetFeatures = "target_features";
}
}