Skip to content

Commit e173daa

Browse files
markovejnovicclaude
andcommitted
ci(release): install wasm32-wasip1 for build.rs cross-compile
crates/hm/build.rs cross-compiles hm-plugin-docker as a wasm plugin that gets embedded into the hm binary. Without the wasm32-wasip1 target installed, the `cargo check --workspace` in `Set version from tag` fails with `error[E0463]: can't find crate for std`. Same fix the examples workflow already carries — release.yml just didn't get it. Tag the release again (or re-run the failed job from the same SHA) and it should reach the publish step. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0225a58 commit e173daa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: dtolnay/rust-toolchain@stable
21+
with:
22+
# crates/hm/build.rs cross-compiles hm-plugin-docker as a wasm
23+
# plugin embedded into the binary, so the target must be on
24+
# the toolchain for the `cargo check` in the next step.
25+
targets: wasm32-wasip1
2126
- uses: Swatinem/rust-cache@v2
2227

2328
- name: Set version from tag

0 commit comments

Comments
 (0)