Skip to content

fix(js): use WASM-compatible tokio features#640

Merged
chaliy merged 2 commits intomainfrom
claude/ship-patch-release-cac1z
Mar 15, 2026
Merged

fix(js): use WASM-compatible tokio features#640
chaliy merged 2 commits intomainfrom
claude/ship-patch-release-cac1z

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Mar 15, 2026

Summary

  • Fix WASM build failure in publish-js.yml by narrowing tokio features from full to only WASM-supported ones: sync, macros, io-util, rt, time
  • tokio "full" includes net/fs/process which tokio 1.50+ explicitly rejects on wasm32-wasip1-threads

Test plan

  • cargo clippy -p bashkit-js passes
  • cargo test --all-features passes
  • CI green
  • Re-trigger publish-js.yml after merge

chaliy added 2 commits March 15, 2026 03:09
tokio "full" features include net/fs/process which are unsupported
on wasm32-wasip1-threads. Narrow to sync/macros/io-util/rt/time
which are the only features actually used.
@chaliy chaliy merged commit 6a6e38c into main Mar 15, 2026
23 checks passed
@chaliy chaliy deleted the claude/ship-patch-release-cac1z branch March 15, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant