From 6f62edbd689e9b21e358e461faf692f1c5479a9b Mon Sep 17 00:00:00 2001 From: Rayen Sbai Date: Sun, 29 Nov 2026 11:50:11 +0100 Subject: [PATCH] build(web): move the Emscripten pin to 7.0.1 Homebrew now ships Emscripten 7.0.1 only, and cpp/web/build.sh stopped with "Emscripten 7.0.0 is required, found 7.0.1" on every web build. The pin moves to 7.0.1 in the script and in the CI and publish workflows together, so local builds and CI keep using the same compiler. --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- cpp/web/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f050313..5345359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: - name: Setup Emscripten uses: mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16 with: - version: 7.0.0 + version: 7.0.1 - name: Build the web core and grammars run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 501beb4..1dc1001 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,7 +35,7 @@ jobs: - name: Setup Emscripten uses: mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16 with: - version: 7.0.0 + version: 7.0.1 # The core ships lib/web and every language package ships web/.wasm. - name: Build the web core and grammars diff --git a/cpp/web/build.sh b/cpp/web/build.sh index d9aa593..2d971e1 100755 --- a/cpp/web/build.sh +++ b/cpp/web/build.sh @@ -6,7 +6,7 @@ # cpp/web/build.sh --names lib/web with WASM function names, for bench profiles only set -euo pipefail -EMSCRIPTEN_VERSION=7.0.0 +EMSCRIPTEN_VERSION=7.0.1 ROOT=$(cd "$(dirname "$0")/../.." && pwd) WEB=$ROOT/cpp/web TS=$ROOT/cpp/tree-sitter/lib