Commit 8a09b8d
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 files changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
0 commit comments