Stream: git-wasmtime

Topic: wasmtime / PR #3001 Fix running enter/exit hooks on start...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 18 2021 at 20:32):

alexcrichton opened PR #3001 from better-enter-exit to main:

This commit fixes running the store's enter/exit hooks into wasm which
accidentally weren't run for an instance's start function. The fix
here was mostly to just sink the enter/exit hook much lower in the code
to invoke_wasm_and_catch_traps, which is the common entry point for
all wasm calls.

This did involve propagating the StoreContext<T> generic rather than
using StoreOpaque unfortunately, but it is overally not too too much
code and we generally wanted most of it inlined anyway.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2021 at 20:56):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2021 at 21:31):

alexcrichton merged PR #3001.


Last updated: Nov 22 2024 at 16:03 UTC