Skip to content

Rust binding for this proposal #16

@q82419

Description

@q82419

Hi there, here's from WasmEdge runtime.

Take the WASI-NN proposal for example, there's rust binding generated from the witx format.
Developers can use the witx-bindgen to generate the rust binding easily.
With this generated library, developers can call the WASI proposal APIs in rust and compile into WASM.

But currently the WASI proposals provides the wit format, which can be compiled into component model.
For the other WebAssembly runtimes, supporting the component model is not so easy and quickly due to its complexity.
To support this proposal, we should have:

  • The ABI documentation in WASM, especially the host function parameter and return types in WASM.
  • The rust binding to this proposal, in order to generate the test WASM invoking the host functions of this proposal.

Unfortunately, this WASI-WebGPU proposal doesn't provide the information for the API doc, which is the most important to implement this proposal.
Can you help to provide the rust binding and API doc so that developers can try to compile the WASM files without component?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions