WebAssembly / wasi-tools

WASI tools
Apache License 2.0
16 stars 7 forks source link

`wit-abi` gets confused about imports #17

Closed abrown closed 1 year ago

abrown commented 1 year ago

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. 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.

sunfishcode commented 1 year ago

Thanks for the report! The code that handles this lives in wit-bindgen; would you mind filing this report in the wit-bindgen repo?

abrown commented 1 year ago

Moved!