bytecodealliance / bytecodealliance/wasm-pkg-tools

wkg 0.11.0 fails to publish wit

Open
#166 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
160
Forks
42
Avg merge
7h 57m
Merged PRs (30d)
3

Description

`wkg wit build` followed by `wkg publish` generates an error of:

> Error: registry error: Error: error: expected package-docs version 0, got Some(1)

From looking at the `.wat` representation of the `.wasm` via `wasm-tools view`, it seems that there is a section:

```
(@custom "package-docs"
```

this was changed from 00 to 01 in a recent update (see https://github.com/bytecodealliance/wasm-tools/pull/2201#pullrequestreview-2862305769 for more context)

might be that there's some incompatibility with this change and publishing the wasm file?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.