From 5cb2b32f7382bd1c5ac9756837ba94c36247e348 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Sun, 28 May 2023 21:48:10 +0000 Subject: [PATCH 1/2] Update minimum wasi-sdk version to 16 --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5de4543..a13c6cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: sudo dpkg -i "$wasi_sdk_deb" echo "WASI_SDK_PATH=/opt/wasi-sdk" >> $GITHUB_ENV env: - WASI_SDK_VERSION_MAJOR: 14 + WASI_SDK_VERSION_MAJOR: 16 WASI_SDK_VERSION_MINOR: 0 - run: CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime cargo test --target wasm32-wasi - run: cargo build --target wasm32-unknown-unknown diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 857344f..c443176 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: sudo dpkg -i "$wasi_sdk_deb" echo "WASI_SDK_PATH=/opt/wasi-sdk" >> $GITHUB_ENV env: - WASI_SDK_VERSION_MAJOR: 14 + WASI_SDK_VERSION_MAJOR: 16 WASI_SDK_VERSION_MINOR: 0 - uses: actions-rs/cargo@v1.0.1 with: diff --git a/README.md b/README.md index 71d7cfb..155eec7 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,12 @@ $ brew install kateinoigakukun/wasi-vfs/wasi-vfs ## Building -To build the project, you need to install the [`wasi-sdk`](https://github.com/WebAssembly/wasi-sdk) version 14.0 or later. +To build the project, you need to install the [`wasi-sdk`](https://github.com/WebAssembly/wasi-sdk) version 16.0 or later. ```console $ git clone https://github.com/kateinoigakukun/wasi-vfs.git --recurse-submodules $ cd wasi-vfs -$ export WASI_VERSION=14 +$ export WASI_VERSION=16 $ export WASI_VERSION_FULL=${WASI_VERSION}.0 # For x86_64 Linux host machine From 4dec12de6a04f9c4c582293ae04b59e247c022ba Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Sun, 28 May 2023 21:50:25 +0000 Subject: [PATCH 2/2] Update rust toolchain version to latest 1.69.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f89fff8..21a9419 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.64.0" +channel = "1.69.0" targets = [ "wasm32-unknown-unknown", "wasm32-wasi" ]