diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 12a1438263..9ecab6600c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -55,11 +55,11 @@ RUN git pull \ # # install wasi-sdk -ARG WASI_SDK_VER=21 -RUN wget -c --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER}/wasi-sdk-${WASI_SDK_VER}.0-linux.tar.gz -P /opt \ - && tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-linux.tar.gz -C /opt \ +ARG WASI_SDK_VER=24 +RUN wget -c --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER}/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -P /opt \ + && tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -C /opt \ && ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0 /opt/wasi-sdk \ - && rm /opt/wasi-sdk-${WASI_SDK_VER}.0-linux.tar.gz + && rm /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz # #install wabt diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ae47c0347b..b32d889f17 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,10 +15,10 @@ "EMSDK_VER": "3.1.43", "GH_CLI_VER": "2.50.0", "LLVM_VER": "15.0.6", - "WABT_VER": "1.0.35", - "WASI_SDK_VER": "22", - "WASM_TOOLS_VER": "1.209.0", - "WIT_BINDGEN_VER": "0.26.0", + "WABT_VER": "1.0.36", + "WASI_SDK_VER": "24", + "WASM_TOOLS_VER": "1.216.0", + "WIT_BINDGEN_VER": "0.30.0", "VARIANT": "jammy", } }, diff --git a/.devcontainer/finalize.sh b/.devcontainer/finalize.sh index 560347abc1..c07eff0b69 100644 --- a/.devcontainer/finalize.sh +++ b/.devcontainer/finalize.sh @@ -7,7 +7,7 @@ sudo chown -R vscode ${CARGO_HOME} sudo chown -R vscode ${RUSTUP_HOME} # rustup update stable --no-self-update # rustup default stable -rustup target add wasm32-unknown-unknown +#rustup target add wasm32-unknown-unknown rustup target add wasm32-wasi rustup component add clippy rustup component add rustfmt