Skip to content

Commit 05c3d92

Browse files
committed
fix: add wasm32-unknown-unknown target to Rust toolchain in CI workflows
1 parent fec4a1c commit 05c3d92

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Rust
2323
uses: dtolnay/rust-toolchain@stable
2424
with:
25-
targets: thumbv7em-none-eabihf
25+
targets: thumbv7em-none-eabihf, wasm32-unknown-unknown
2626
components: rustfmt, clippy
2727

2828
- name: Cache dependencies
@@ -52,7 +52,7 @@ jobs:
5252
- name: Install Rust
5353
uses: dtolnay/rust-toolchain@stable
5454
with:
55-
targets: thumbv7em-none-eabihf
55+
targets: thumbv7em-none-eabihf, wasm32-unknown-unknown
5656

5757
- name: Cache dependencies
5858
uses: actions/cache@v3
@@ -108,7 +108,7 @@ jobs:
108108
- name: Install Rust
109109
uses: dtolnay/rust-toolchain@stable
110110
with:
111-
targets: thumbv7em-none-eabihf
111+
targets: thumbv7em-none-eabihf, wasm32-unknown-unknown
112112
components: rustfmt, clippy
113113

114114
- name: Cache dependencies

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323

2424
- name: Install Rust
2525
uses: dtolnay/rust-toolchain@stable
26+
with:
27+
targets: wasm32-unknown-unknown
2628

2729
- name: Cache dependencies
2830
uses: actions/cache@v4

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
- name: Install Rust
2424
uses: dtolnay/rust-toolchain@stable
2525
with:
26-
targets: thumbv7em-none-eabihf
26+
targets: thumbv7em-none-eabihf, wasm32-unknown-unknown
27+
components: rustfmt, clippy
2728

2829
- name: Cache dependencies
2930
uses: actions/cache@v3

0 commit comments

Comments
 (0)