Skip to content

Commit 8a09b8d

Browse files
authored
fix: use 'target' (singular) for setup-rust-toolchain action input (#1715)
The `actions-rust-lang/setup-rust-toolchain` action expects `target` (singular), not `targets` (plural). The typo caused `wasm32-wasip1` to silently not be installed, failing the WASM guard build in the release workflow with: ``` error[E0463]: can't find crate for `std` = note: the `wasm32-wasip1` target may not be installed ``` The action logged: ``` ##[warning]Unexpected input(s) 'targets', valid inputs are ['toolchain', 'target', 'components', ...] ``` **Fix:** `targets:` → `target:` in both `release.md` and `release.lock.yml`.
2 parents ab536e8 + bb77746 commit 8a09b8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ jobs:
279279
- name: Set up Rust
280280
uses: actions-rust-lang/setup-rust-toolchain@a0b538fa0b742a6aa35d6e2c169b4bd06d225a98 # v1.15.3
281281
with:
282-
targets: wasm32-wasip1
282+
target: wasm32-wasip1
283283

284284
- name: Build baked WASM guard
285285
run: |

0 commit comments

Comments
 (0)