alexcrichton closed Issue #849:
wasmtime::Callable
'sresults
mutable slice is initialized with the nullAnyRef
. If the callable implementation doesn't actually write the results it will stayAnyRef's
and 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
AnyRef
is actually a good idea in the first place.
Last updated: Dec 23 2024 at 13:07 UTC