Stream: general

Topic: wit-bindgen demo as a test


view this post on Zulip Raimundo Saona (Jan 07 2022 at 23:13):

Hi All!

I wanted to ask for help adding a test for the wit-bindgen crate, if possible.

I have this repo that implements something very similar to the current demo in the wasmlink crate. The difference is that the host is a Rust application that calls wasmtime the crate to run some wasm plugin. I made this PR to add it as a demo and the conclusion was to add it as a test.

I read the test documentation but I am a bit lost, especially since I have a dependency on:

Contribute to saona-raimundo/wasm_renderer development by creating an account on GitHub.
A language binding generator for WebAssembly interface types - wit-bindgen/crates/wasmlink at main · bytecodealliance/wit-bindgen
This is an example with a basic usage of import! from the wit-bindgen-wasmtime crate. Asked in #59 by @nitishm. @nitishm, is this what you had in mind? I hope I have the README correct in the wit-b...

Last updated: Dec 23 2024 at 12:05 UTC