github-actions[bot] commented on issue #4312:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton commented on issue #4312:
Seems reasonable to me! Could the implementation of this though live in the
wasmtime-cli
crate rather than theLinker
type itself? It feels kinda CLI-specific for now and we can always move it over later if others find it useful.
jameysharp commented on issue #4312:
I was just thinking it'd be nice to have exactly this functionality available on the linker. I think it's useful for building custom test environments that exercise things like C@E SDKs, where there may be a lot of imports that can't be statically shown to be unused but which aren't actually called dynamically. We don't currently plan to build such environments so this isn't a strong argument in favor of exposing this feature on the linker, but my guess is it would be useful to other people too.
pepyakin commented on issue #4312:
As a data point, in Substrate, we implement the same functionality. Link 1 Link 2
Last updated: Dec 23 2024 at 12:05 UTC