23 lines
352 B
Plaintext
23 lines
352 B
Plaintext
package root:component;
|
|
|
|
world root {
|
|
import wasi:cli/stdin@0.2.6;
|
|
import wasi:cli/stdout@0.2.6;
|
|
|
|
export wasi:cli/run@0.2.0;
|
|
}
|
|
|
|
package wasi:cli@0.2.6 {
|
|
interface stdout {
|
|
use wasi:io/streams@0.2.6.{output-stream};
|
|
|
|
get-stdout: func() -> output-stream;
|
|
}
|
|
}
|
|
|
|
package wasi:cli@0.2.0 {
|
|
interface run {
|
|
run: func() -> result;
|
|
}
|
|
}
|