fitzgen opened issue #7083:
Follow up to https://github.com/bytecodealliance/wasmtime/pull/7078#discussion_r1336021323
It is there because the method calls public APIs that require a store with a
T
but none of them actually use theT
. For everypub fn foo<T>
that is called, we could create apub(crate) fn _foo
without theT
and then call those methods from_serialize
and ultimately remove theT
from_serialize
.This would make it so that calling
wasmtime::CoreDump::serialize
isn't monomorphized for everyT
in a store passed to it, which can help compile times when there is more than oneT
used in the program.
Last updated: Dec 23 2024 at 12:05 UTC