instead of useless error messages like "instance not valid to be used as import", why not dump the entire instance's type signature?
You are welcome to open a feature request in https://github.com/bytecodealliance/wasm-tools
in wasmtime
like, why do we need
(export $error-e "error" (type (eq $error-t)))
(type $stream-error-t (variant (case "last-operation-failed" (own $error-e)) (case "closed")))
(export $stream-error "stream-error" (type (eq $stream-error-t)))
instead of, say,
(type $stream-error (variant (case "last-operation-failed" (own $error-t)) (case "closed")))
why does the latter not work? why doesn't wasmtime tell us why it doesn't work?
opened an issue https://github.com/bytecodealliance/wasmtime/issues/9293
Last updated: Nov 22 2024 at 16:03 UTC