Stream: git-wasmtime

Topic: wasmtime / issue #5685 Generate an instance_pre wrapper i...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 01 2023 at 20:58):

elliottt commented on issue #5685:

My goal was to wrap up the following pattern in the same way that we're wrapping up instantiate_async:

https://github.com/fastly/Viceroy/blob/207e1256e3d040b949dc10405e3ac99212466e1c/lib/src/execute.rs#L383-L389

That way I could just say Xqd::instantiate_pre(&mut store, instance_pre) instead.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 01 2023 at 21:01):

alexcrichton commented on issue #5685:

Whoops sorry I got this backwards in my head what it was doing, makes sense! In that case though I think the Linker argument can be dropped.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 01 2023 at 21:13):

elliottt commented on issue #5685:

In that case though I think the Linker argument can be dropped.

Thanks for catching that!


Last updated: Dec 23 2024 at 12:05 UTC