Skip to content

Commit

Permalink
chore(*) cargo update and switch to 'wasm32-wasip1' target
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Sep 21, 2024
1 parent 39dd7ec commit 7936353
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/job-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: ${{ !env.ACT }}
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
target: wasm32-wasip1
- name: Setup Go
if: ${{ !env.ACT }}
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-valgrind-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
if: ${{ !env.ACT }}
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
target: wasm32-wasip1
- name: Setup Go
if: ${{ !env.ACT }}
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion assets/release/Dockerfiles/Dockerfile.ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN apt-get install -y \
unzip \
sudo && \
update-alternatives --install /usr/bin/scan-build scan-build /usr/bin/scan-build-${CLANG_VERSION} 100 && \
rustup target add wasm32-wasi && \
rustup target add wasm32-wasip1 && \
rustup target add wasm32-unknown-unknown && \
curl -sLO https://golang.google.cn/dl/go${GOLANG_VERSION}.linux-$(cat /TG_ARCH).tar.gz && \
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-$(cat /TG_ARCH).tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ the system will quickly become necessary for development:
- Then add the Wasm target to your toolchain: `rustup target add
wasm32-unknown-unknown`.
- As well as the [WASI](https://wasi.dev/) target: `rustup target add
wasm32-wasi`.
wasm32-wasip1`.

[Back to TOC](#table-of-contents)

Expand Down
54 changes: 32 additions & 22 deletions lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7936353

Please sign in to comment.