Files
wasmtime/crates/component-macro/tests/codegen/rename.wit
Alex Crichton 9141fcf8cf components: Fix bindgen! with renamed interfaces (#5968)
This follows the same strategy pioneered by the `wit-bindgen` guest Rust
bindgen which keeps track of the latest name of an interface for how to
refer to an interface.

Closes #5961
2023-03-08 23:15:58 +00:00

15 lines
186 B
Plaintext

interface red {
use self.green.{thing}
foo: func() -> thing
}
interface green {
type thing = s32
}
default world neptune {
import blue: self.red
import orange: self.green
}