wit-bindgen
wit-bindgen copied to clipboard
rust: An export taking a list of a type which contains a borrow handle of an imported resource doesn't work
For example this will fail to generate correct bindings:
package a:b;
interface a {
resource b;
}
world foo {
use a.{b};
export f: func(x: list<borrow<b>>);
}