-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set wasmtime::component::values
to be public
#5788
Comments
At the moment, you can construct a list I think it would be ok to make the If we choose not to make those types public we should note the preferred way to construct those variants in the docs for |
The original intention was to reexport everything necessary form the |
Ok! I'll add the forgotten reexports :) |
I'm trying to call an exported function with signature
func (seq: list<s64>) -> s64
, but I find that I can't constructwasmtime::component::Val::List(wasmtime::component::values::List())
sincewasmtime::component::values::List
is not public.Feature
Add
pub
towasmtime/crates/wasmtime/src/component/mod.rs
Line 16 in e10094d
Benefit
If accepted, We can invoke functions which contains a param with type list
Implementation
Just add a
pub
prefixAlternatives
May be no alternatives available?
The text was updated successfully, but these errors were encountered: