Skip to content

Commit 8c9563e

Browse files
committed
Update emsdk version
1 parent a6920f9 commit 8c9563e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci/emscripten.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -ex
44

5+
EMSDK_VERSION=1.39.16
6+
57
hide_output() {
68
set +x
79
on_err="
@@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
2325
cd /emsdk-portable
2426
# FIXME: switch to an upstream install once
2527
# https://github.com/rust-lang/rust/pull/63649 lands
26-
hide_output ./emsdk install 1.39.12
27-
./emsdk activate 1.39.12
28+
hide_output ./emsdk install "${EMSDK_VERSION}"
29+
./emsdk activate "${EMSDK_VERSION}"
2830

2931
# Compile and cache libc
3032
# shellcheck disable=SC1091
@@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c
3436
rm -f a.*
3537

3638
# Make emsdk usable by any user
37-
cp /root/.emscripten /emsdk-portable
3839
chmod a+rxw -R /emsdk-portable
3940

4041
# node 8 is required to run wasm

0 commit comments

Comments
 (0)