bytecodealliance / bytecodealliance/wit-bindgen
`wit-abi` gets confused about imports
- Lingua principale
- Rust
- Stelle
- 1.5k
- Fork
- 286
- Merge medio
- 6h 32m
- PR unite (30g)
- 19
Descrizione
Moved from https://github.com/WebAssembly/wasi-tools/issues/17; the "tool" mentioned here is `wit-abi`:
Looking at the Markdown/HTML produced for wasi-nn, this tool seems to confuse the Markdown parser whether it should convert several lines to Markdown or print them as HTML: [`ml.md`](https://github.com/WebAssembly/wasi-nn/blob/main/ml.md#types-3). `wit-abi` happily produces intermixed Markdown and HTML until it gets to a point (I believe related to imports?) where it dumps something that gets displayed as:
```
#### `type tensor` [`tensor`](#tensor)
#### `type tensor-data` [`tensor-data`](#tensor_data)
#### `type graph` [`graph`](#graph)
#### `type graph-execution-context` `u32`
```
This is not a high priority issue but I thought I would report it while it's on my mind.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dall'output di wit-abi per wasi-nn in ml.md, soprattutto dalla sezione relativa agli imports segnalati e al rendering misto Markdown/HTML. Confronta l'output generato con le definizioni sorgente e determina dove il formato diventa incoerente; il lavoro è completato quando i tipi interessati vengono renderizzati in modo coerente nel documento generato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- markdown, wasm
- Ambito
- documentation, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100