-
Notifications
You must be signed in to change notification settings - Fork 256
Closed
Labels
asyncRelated to async/streams in the component model.Related to async/streams in the component model.gen-rustRelated to bindings for Rust-compiled-to-WebAssemblyRelated to bindings for Rust-compiled-to-WebAssembly
Description
This input:
package test:foo;
world the-world {
import x: func(x: list<error-context>);
}generates:
pub fn x(x: &[wit_bindgen::rt::async_support::ErrorContext]) -> () {but I believe that error-context values are passed by ownership, so this semantically isn't the right signature for Rust.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
asyncRelated to async/streams in the component model.Related to async/streams in the component model.gen-rustRelated to bindings for Rust-compiled-to-WebAssemblyRelated to bindings for Rust-compiled-to-WebAssembly