0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

:paperlip: Add minor update to render-wasm build script

This commit is contained in:
Andrey Antukh 2024-11-14 18:18:22 +01:00
parent aeda6271cd
commit 21cdd1200a

View file

@ -6,11 +6,10 @@ else
export _BUILD_MODE=${1:-debug};
fi
export EMSDK_QUIET=1
export EMCC_CFLAGS="--no-entry -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s MAX_WEBGL_VERSION=2 -s MODULARIZE=1 -s EXPORT_NAME=createRustSkiaModule -s EXPORTED_RUNTIME_METHODS=GL -s ENVIRONMENT=web -s EXPORT_ES6=1 -sMODULARIZE"
source /usr/local/emsdk/emsdk_env.sh;
source /usr/local/cargo/env
EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
. /usr/local/cargo/env
export EM_CACHE="/tmp/emsdk_cache";