🎉 Switch new renderer to Emscripten (from wasm-bindgen)

This commit is contained in:
Belén Albeza 2024-10-21 16:24:40 +02:00 committed by Andrey Antukh
parent 283ea16627
commit e4eb80f643
16 changed files with 10374 additions and 456 deletions

View file

@ -9,7 +9,7 @@ ENV NODE_VERSION=v20.11.1 \
BABASHKA_VERSION=1.3.189 \
CLJFMT_VERSION=0.12.0 \
RUSTUP_VERSION=1.27.1 \
RUST_VERSION=1.81.0 \
RUST_VERSION=1.82.0 \
LANG=en_US.UTF-8 \
LC_ALL=en_US.UTF-8
@ -265,6 +265,16 @@ RUN set -eux; \
rm rustup-init; \
chmod -R a+w $RUSTUP_HOME $CARGO_HOME;
WORKDIR /usr/local
# Install emscripten SDK and activate it
RUN set -eux; \
git clone https://github.com/emscripten-core/emsdk.git; \
cd emsdk; \
./emsdk install latest; \
./emsdk activate latest; \
rustup target add wasm32-unknown-emscripten;
WORKDIR /home
COPY files/nginx.conf /etc/nginx/nginx.conf

View file

@ -11,6 +11,8 @@ alias lsf='ls -h *(.)'
# init Cargo / Rust env
. "/usr/local/cargo/env"
# init emscripten
EMSDK_QUIET=1 . "/usr/local/emsdk/emsdk_env.sh"
# include .bashrc if it exists
if [ -f "$HOME/.bashrc.local" ]; then