Is a single InstancePre ever meant to produce more than one instantiation?
It's pretty much only useful if it produces more than one instantiation isn't it?
A lot of places where it's currently used only use a given InstancePre once. But yeah, that makes sense.
Yes it's definitely the intention that an InstancePre is used many times
that only comes up in embeddings, though, so wasmtime internals it's all a one-off use to avoid duplicating code
Last updated: Dec 06 2025 at 06:05 UTC