Files
wasmtime-test/runner/wit/test.wit

19 lines
360 B
Plaintext

package my:project;
interface types {
resource testresource {
hello: func();
}
record record-string {
hello-string: string,
}
}
world test {
use types.{testresource, record-string};
import hello: func(hello-string: record-string);
export greet: func(hello-string: record-string, input-resource: testresource);
}