bytecodealliance / bytecodealliance/wasm-pkg-tools
wkg 0.11.0 fails to publish wit
- Lingua principale
- Rust
- Stelle
- 160
- Fork
- 42
- Merge medio
- 7h 57m
- PR unite (30g)
- 3
Descrizione
`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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il fallimento con `wkg wit build` seguito da `wkg publish`, quindi ispeziona il `.wasm` generato usando `wasm-tools view`, concentrandoti sulla sezione personalizzata `package-docs` e sulla relativa versione. Confronta l’aspettativa di pubblicazione con la sezione generata e verifica che la pubblicazione abbia esito positivo per il package interessato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust, wasm
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100