From: Matt Corallo Date: Sat, 15 Jan 2022 20:54:37 +0000 (+0000) Subject: [TS] Swap Os for Oz because its a minor change and a minor win X-Git-Tag: v0.0.105.0~5^2~18 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f5aa53263c5758c5eb98f13d527c5457b55a0601;p=ldk-java [TS] Swap Os for Oz because its a minor change and a minor win --- 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