File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,18 @@ exit 1
2828 set -x
2929}
3030
31- cd /
32- curl --retry 5 -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | \
33- tar -xz
34-
31+ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
3532cd /emsdk-portable
36- ./emsdk update
37- hide_output ./emsdk install 1.38.37
38- ./emsdk activate 1.38.37
33+ # TODO: switch to an upstream install once
34+ # https://github.com/rust-lang/rust/pull/63649 lands
35+ hide_output ./emsdk install 1.38.42
36+ ./emsdk activate 1.38.42
3937
4038# Compile and cache libc
4139# shellcheck disable=SC1091
4240source ./emsdk_env.sh
4341echo " main(){}" > a.c
4442HOME=/emsdk-portable/ emcc a.c
45- HOME=/emsdk-portable/ emcc -s BINARYEN=1 a.c
4643rm -f a.*
4744
4845# Make emsdk usable by any user
You can’t perform that action at this time.
0 commit comments