alexcrichton closed Issue #849:
wasmtime::Callable'sresultsmutable slice is initialized with the nullAnyRef. If the callable implementation doesn't actually write the results it will stayAnyRef'sand wasmtime will actually try to write them in memory, which (luckily) results into this error message:thread 'main' panicked at 'not yet implemented: Val::write_value_to', /Users/pepyakin/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmtime-0.9.0/src/values.rs:93:18which in turn leads to #848 at the moment of writing.
However, I am wondering if relying on null
AnyRefis actually a good idea in the first place.
Last updated: Dec 06 2025 at 06:05 UTC