From aea06a7d1d89a21496c59154773d5d1361f26f1d Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Thu, 8 Oct 2026 07:21:26 +0200 Subject: [PATCH] :bug: Fix render-wasm wrapper skipping compilation and copying ./build and pnpm run build:wasm produced no artifacts, dropped extra Cargo arguments, and watch compiled outside the lock without copying. Build now runs cargo build and copy_target_artifacts under the existing lock. Cargo arguments survive as an array, and watch re-entry no longer duplicates profile flags. Destinations accept environment overrides so callers can stage artifacts outside the public paths. AI-assisted-by: deepseek-flash --- render-wasm/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/render-wasm/build b/render-wasm/build index 1a471758fa..f2df9859b6 100755 --- a/render-wasm/build +++ b/render-wasm/build @@ -46,4 +46,7 @@ else test -d node_modules/esbuild || { echo "Run pnpm install in render-wasm before benchmarking" >&2; exit 1; }; fi +build +copy_target_artifacts + popd > /dev/null