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 `stderr` has the wrong type but in the 408f0bfcec31a1880b6df06341f996e8e445a442 commit version, there's no this problem
using the latest main branch
hostcratehost::command::add_to_linker(&mut linker, |state: &mut HostHelper| state.wasi_ctx())will reportbut in the 408f0bf commit version, there's no this problem