Skip to content

Commit 0c2fb12

Browse files
committed
wasm-opt: use --strip-debug
1 parent 77f77a6 commit 0c2fb12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/default/wasi-test-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ unset LDFLAGS
66
unset CFLAGS
77

88
if command -v wasm-opt >/dev/null; then
9-
wasm-opt -O4 -o "${1}.tmp" "$1" && mv -f "${1}.tmp" "$1"
9+
wasm-opt -O4 --strip-debug -o "${1}.tmp" "$1" && mv -f "${1}.tmp" "$1"
1010
fi
1111

1212
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wavm" ]; then

0 commit comments

Comments
 (0)