From 7945a95522a5178d9c08c699ac6dd05963b6a7c3 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 23 Apr 2025 11:13:04 +0200 Subject: [PATCH] :bug: Fix wasm scripts --- render-wasm/watch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/render-wasm/watch b/render-wasm/watch index 0b7b12afe..720e0e2e9 100755 --- a/render-wasm/watch +++ b/render-wasm/watch @@ -4,7 +4,10 @@ set -x _SCRIPT_DIR=$(dirname $0); pushd $_SCRIPT_DIR; -. ./_build_env +. ./_build_env + +export CARGO_BUILD_TARGET=${CARGO_BUILD_TARGET:-"wasm32-unknown-emscripten"}; +export SKIA_BINARIES_URL=${SKIA_BINARIES_URL:-"https://github.com/penpot/skia-binaries/releases/download/0.81.0-3/skia-binaries-24dee32a277b6c7b5357-wasm32-unknown-emscripten-gl-svg-textlayout-binary-cache.tar.gz"} pushd $_SCRIPT_DIR; cargo watch \