bytecodealliance / bytecodealliance/wasm-pkg-tools
wkg@0.14.0 fails to parse `wasi:http` dependency
Open
- Dominant language
- Rust
- Stars
- 160
- Forks
- 42
- Avg merge
- 7h 57m
- Merged PRs (30d)
- 3
Description
```sh
theo@theo-desktop-ubuntu:~/$ wkg wit fetch
Error: failed to decode content of dependency `wasi:http`
Caused by:
export name `[async]handle` is not a valid extern name
`[async]handle` is not in kebab case (at offset 0xe8d)
```
For something like the following:
```wit/world.wit
package test:plugin@0.0.1;
interface capabilities {
use wasi:http/types@0.3.0-rc-2026-01-06.{request, response};
// ...
}
```
Downgrading to 0.13.0 seems to fix the issue:
```sh
theo@theo-desktop-ubuntu:~/$ cargo install wkg@0.13.0
# ...
theo@theo-desktop-ubuntu:~/$ wkg wit fetch
theo@theo-desktop-ubuntu:~/$
```
Contributor guide
Assessment
This issue has not been assessed yet.