fitzgen edited issue #10324.
fitzgen added the wasmtime:c-api label to Issue #10324.
fitzgen added the wasm-proposal:gc label to Issue #10324.
Keno commented on issue #10324:
Is there a spec for what the C API is supposed to look like? I was playing with wasm-gc through the C API, but not being able to return struct values from embedder functions is a bit of a bummer. My rust knowledge is limited, but I figured I could have a go at trying to implement something here to play with.
alexcrichton commented on issue #10324:
No spec that I'm aware of at least so we're left to our imaginations. I don't think we have a plan of how to expose all this in the C API at this time, but it'd likely be centered around
OwnedRooted<T>and more-or-less look like the Rust API. If that still leaves you with questions though we can try to help out with the design here.
Last updated: Dec 06 2025 at 06:05 UTC