Skip to content

Commit

Permalink
wasi-sdk has changed its download linking since 24
Browse files Browse the repository at this point in the history
  • Loading branch information
lum1n0us committed Oct 22, 2024
1 parent e569180 commit e483544
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
},
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e483544

Please sign in to comment.