I'm looking to implement the CLI Embedding Proposal, does anyone know when the prerequisites will be available?
The main feature needed is iterating over a components type to identify and then supply specific value imports.
@Alex Crichton can give a more complete answer, but I don't believe any work has been done yet to support component values. Here's where an implementation would start, I believe: https://github.com/bytecodealliance/wasmtime/blob/bb0b6dafdeab816cdf5b8977cbd627092d022a91/crates/environ/src/component/translate.rs#L825
See also the first item under "Unsure how to implement so far" here
I am not familiar with the CLI embedding proposal myself, but if it relies on anything related to value
imports/exports that's not at all implemented yet (and I basically have no idea how to implement it). Otherwise though it should be the case that most of the pieces are all there
@Kyle Brown FYI, we've made some progress on this: https://github.com/bytecodealliance/wasmtime/issues/4844
Last updated: Dec 23 2024 at 13:07 UTC