File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[build ]
2- target = " wasm32-wasi "
2+ target = " wasm32-wasip1 "
Original file line number Diff line number Diff line change 3131 - name : Install stable
3232 uses : dtolnay/rust-toolchain@stable
3333 with :
34+ target : wasm32-wasip1
3435 components : rustfmt
3536 - name : cargo fmt --check
3637 run : cargo fmt --check
5253 - name : Install ${{ matrix.toolchain }}
5354 uses : dtolnay/rust-toolchain@master
5455 with :
56+ target : wasm32-wasip1
5557 toolchain : ${{ matrix.toolchain }}
5658 components : clippy
5759 - name : cargo clippy
6971 - name : Install stable
7072 uses : dtolnay/rust-toolchain@stable
7173 with :
74+ target : wasm32-wasip1
7275 components : rustfmt
7376 - name : cargo-semver-checks
7477 uses : obi1kenobi/cargo-semver-checks-action@v2
8487 submodules : true
8588 - name : Install nightly
8689 uses : dtolnay/rust-toolchain@nightly
90+ with :
91+ target : wasm32-wasip1
8792 - name : Install cargo-docs-rs
8893 uses : dtolnay/install@cargo-docs-rs
8994 - name : cargo docs-rs
99104 submodules : true
100105 - name : Install stable
101106 uses : dtolnay/rust-toolchain@stable
107+ with :
108+ target : wasm32-wasip1
102109 - name : cargo install cargo-hack
103110 uses : taiki-e/install-action@cargo-hack
104111 # intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4
@@ -121,6 +128,7 @@ jobs:
121128 - name : Install ${{ matrix.msrv }}
122129 uses : dtolnay/rust-toolchain@master
123130 with :
131+ target : wasm32-wasip1
124132 toolchain : ${{ matrix.msrv }}
125133 - name : cargo +${{ matrix.msrv }} check
126134 run : cargo check
Load diff This file was deleted.
Original file line number Diff line number Diff line change 2424 submodules : true
2525 - name : Install nightly
2626 uses : dtolnay/rust-toolchain@nightly
27+ with :
28+ target : wasm32-wasip1
2729 - run : |
2830 # to get the symbolizer for debug symbol resolution
2931 sudo apt install llvm
6365 - name : Install ${{ env.NIGHTLY }}
6466 uses : dtolnay/rust-toolchain@master
6567 with :
68+ target : wasm32-wasip1
6669 toolchain : ${{ env.NIGHTLY }}
6770 components : miri
6871 - name : cargo miri test
7780 submodules : true
7881 - name : Install stable
7982 uses : dtolnay/rust-toolchain@stable
83+ with :
84+ target : wasm32-wasip1
8085 - name : cargo test --test loom
8186 run : cargo test --release --test loom
8287 env :
Original file line number Diff line number Diff line change 2424 submodules : true
2525 - name : Install nightly
2626 uses : dtolnay/rust-toolchain@nightly
27+ with :
28+ target : wasm32-wasip1
2729 - name : cargo generate-lockfile
2830 if : hashFiles('Cargo.lock') == ''
2931 run : cargo generate-lockfile
4850 - name : Install beta
4951 if : hashFiles('Cargo.lock') != ''
5052 uses : dtolnay/rust-toolchain@beta
53+ with :
54+ target : wasm32-wasip1
5155 - name : cargo update
5256 if : hashFiles('Cargo.lock') != ''
5357 run : cargo update
Original file line number Diff line number Diff line change 3232 - name : Install ${{ matrix.toolchain }}
3333 uses : dtolnay/rust-toolchain@master
3434 with :
35+ target : wasm32-wasip1
3536 toolchain : ${{ matrix.toolchain }}
3637 - name : cargo generate-lockfile
3738 # enable this ci template to run regardless of whether the lockfile is checked in or not
7475 submodules : true
7576 - name : Install stable
7677 uses : dtolnay/rust-toolchain@stable
78+ with :
79+ target : wasm32-wasip1
7780 - name : Install nightly for -Zminimal-versions
7881 uses : dtolnay/rust-toolchain@nightly
82+ with :
83+ target : wasm32-wasip1
7984 - name : rustup default stable
8085 run : rustup default stable
8186 - name : cargo update -Zminimal-versions
@@ -102,6 +107,8 @@ jobs:
102107 submodules : true
103108 - name : Install stable
104109 uses : dtolnay/rust-toolchain@stable
110+ with :
111+ target : wasm32-wasip1
105112 - name : cargo generate-lockfile
106113 if : hashFiles('Cargo.lock') == ''
107114 run : cargo generate-lockfile
@@ -138,6 +145,7 @@ jobs:
138145 - name : Install stable
139146 uses : dtolnay/rust-toolchain@stable
140147 with :
148+ target : wasm32-wasip1
141149 components : llvm-tools-preview
142150 - name : cargo install cargo-llvm-cov
143151 uses : taiki-e/install-action@cargo-llvm-cov
You can’t perform that action at this time.
0 commit comments