preview2-prototyping
preview2-prototyping copied to clipboard
latest main branch host crate not works
using the latest main branch host crate host::command::add_to_linker(&mut linker, |state: &mut HostHelper| state.wasi_ctx()) will report
Error occurred while creating a new object: import
stderrhas the wrong type
but in the 408f0bfcec31a1880b6df06341f996e8e445a442 commit version, there's no this problem
You need to update your adapter along with the host crate - the interface between those two pieces just changed