Stream: wasmtime

Topic: ✔ Why `Caller::get_export` requires mutable reference?


view this post on Zulip Olexiy Kulchitskiy (Oct 04 2024 at 14:38):

Just curious why did you guys decide to require mutable reference to get export from the caller?

view this post on Zulip Alex Crichton (Oct 04 2024 at 14:59):

It's a reflection of the implementation where the Store may need to be mutated to get the export. That may involve interning more items within the store which weren't prevously captured.

view this post on Zulip Olexiy Kulchitskiy (Oct 04 2024 at 15:07):

Oh, I see. Then it makes sense. Thanks

view this post on Zulip Notification Bot (Oct 04 2024 at 15:07):

Olexiy Kulchitskiy has marked this topic as resolved.


Last updated: Dec 23 2024 at 13:07 UTC