mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
expose underlying io error in wisp close reason error, refactor tls config creation
This commit is contained in:
parent
f3a78a1715
commit
286dcba20a
4 changed files with 21 additions and 27 deletions
|
@ -24,9 +24,9 @@ wasm-bindgen --target web --out-dir out/ ../target/wasm32-unknown-unknown/releas
|
|||
echo "[epx] wasm-bindgen finished"
|
||||
|
||||
if ! [ "${RELEASE:-0}" = "1" ]; then
|
||||
WASMOPTFLAGS="-g"
|
||||
: "${WASMOPTFLAGS:=-g}"
|
||||
else
|
||||
WASMOPTFLAGS=""
|
||||
: "${WASMOPTFLAGS:=}"
|
||||
fi
|
||||
|
||||
mv out/epoxy_client_bg.wasm out/epoxy_client_unoptimized.wasm
|
||||
|
@ -35,6 +35,7 @@ wasm-opt $WASMOPTFLAGS --signext-lowering out/epoxy_client_unoptimized.wasm -o o
|
|||
if [ "${RELEASE:-0}" = "1" ]; then
|
||||
(
|
||||
G="--generate-global-effects"
|
||||
# shellcheck disable=SC2086
|
||||
time wasm-opt $WASMOPTFLAGS \
|
||||
out/epoxy_client_lowered.wasm -o out/epoxy_client_bg.wasm \
|
||||
--converge \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue