Stream: git-wasmtime

Topic: wasmtime / PR #2590 module-linking: Implement outer modul...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 20 2021 at 17:44):

alexcrichton opened PR #2590 from module-closures to main:

This commit fully implements outer aliases of the module linking
proposal. Outer aliases can now handle multiple-level-up aliases and now
properly also handle closed-over-values of modules that are either
imported or defined.

The structure of wasmtime::Module was altered as part of this commit.
It is now a compiled module plus two lists of "upvars", or closed over
values used when instantiating the module. One list of upvars is
compiled artifacts which are submodules that could be used. Another is
module values that are injected via outer aliases. Serialization and
such have been updated as appropriate to handle this.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 20 2021 at 17:44):

alexcrichton requested peterhuene for a review on PR #2590.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2021 at 02:22):

peterhuene submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2021 at 15:21):

alexcrichton merged PR #2590.


Last updated: Oct 23 2024 at 20:03 UTC