You've already forked wit-bindgen
mirror of
https://github.com/AdaCore/wit-bindgen.git
synced 2026-02-12 13:12:42 -08:00
* Update Rust codegen for new WIT changes * Update the markdown generation for new WIT * more-rust * Update the C generator for new WIT * Get Rust guest tests compiling * Get rust host tests working * Get all C tests passing * Turn off teavm-java and Go tests for now * Fixup lockfile after rebase * Bump crate versions * Update dependency sources * Update to wasmtime dep
21 lines
449 B
Plaintext
21 lines
449 B
Plaintext
// ./wit/issue.wit
|
|
package foo:foo
|
|
|
|
world issue {
|
|
union union-list-u8 {
|
|
list<u8>,
|
|
}
|
|
|
|
record record-tuple-u8 {
|
|
field: tuple<u8>,
|
|
}
|
|
|
|
variant variant-list-tuple-bool {
|
|
field(list<tuple<bool>>),
|
|
}
|
|
|
|
import func-using-list-u8-in-args: func(body: list<u8>) -> ()
|
|
export func-using-tuple-u8-in-return: func() -> tuple<u8>
|
|
export func-using-list-tuple-bool-in-return: func() -> list<tuple<bool>>
|
|
}
|