Skip to content

Commit 78178bd

Browse files
committed
wasi-sdk has changed its download linking since 24
1 parent 43073d5 commit 78178bd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.devcontainer/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ RUN git pull \
5555

5656
#
5757
# install wasi-sdk
58-
ARG WASI_SDK_VER=21
59-
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 \
60-
&& tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-linux.tar.gz -C /opt \
58+
ARG WASI_SDK_VER=24
59+
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 \
60+
&& tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -C /opt \
6161
&& ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0 /opt/wasi-sdk \
62-
&& rm /opt/wasi-sdk-${WASI_SDK_VER}.0-linux.tar.gz
62+
&& rm /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz
6363

6464
#
6565
#install wabt

.devcontainer/devcontainer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"EMSDK_VER": "3.1.43",
1616
"GH_CLI_VER": "2.50.0",
1717
"LLVM_VER": "15.0.6",
18-
"WABT_VER": "1.0.35",
19-
"WASI_SDK_VER": "22",
20-
"WASM_TOOLS_VER": "1.209.0",
21-
"WIT_BINDGEN_VER": "0.26.0",
18+
"WABT_VER": "1.0.36",
19+
"WASI_SDK_VER": "24",
20+
"WASM_TOOLS_VER": "1.216.0",
21+
"WIT_BINDGEN_VER": "0.30.0",
2222
"VARIANT": "jammy",
2323
}
2424
},

.devcontainer/finalize.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sudo chown -R vscode ${CARGO_HOME}
77
sudo chown -R vscode ${RUSTUP_HOME}
88
# rustup update stable --no-self-update
99
# rustup default stable
10-
rustup target add wasm32-unknown-unknown
10+
#rustup target add wasm32-unknown-unknown
1111
rustup target add wasm32-wasi
1212
rustup component add clippy
1313
rustup component add rustfmt

0 commit comments

Comments
 (0)