From f5aa53263c5758c5eb98f13d527c5457b55a0601 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 15 Jan 2022 20:54:37 +0000 Subject: [PATCH] [TS] Swap Os for Oz because its a minor change and a minor win --- genbindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genbindings.sh b/genbindings.sh index ce9411e1..3d6ea6bc 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -209,7 +209,7 @@ else $COMPILE -o liblightningjs_debug.wasm -g -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/debug/libldk.a $EXTRA_LINK else WASM_FILE=liblightningjs_release.wasm - $COMPILE -o liblightningjs_release.wasm -s -Os -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/release/libldk.a $EXTRA_LINK + $COMPILE -o liblightningjs_release.wasm -s -Oz -I"$1"/lightning-c-bindings/include/ ts/bindings.c "$1"/lightning-c-bindings/target/wasm32-wasi/release/libldk.a $EXTRA_LINK fi if [ -x "$(which tsc)" ]; then -- 2.39.5