summaryrefslogtreecommitdiffhomepage
path: root/test/wasm_component/hello_world/wit/world.wit
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm_component/hello_world/wit/world.wit')
-rw-r--r--test/wasm_component/hello_world/wit/world.wit6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/wasm_component/hello_world/wit/world.wit b/test/wasm_component/hello_world/wit/world.wit
new file mode 100644
index 00000000..82c810ef
--- /dev/null
+++ b/test/wasm_component/hello_world/wit/world.wit
@@ -0,0 +1,6 @@
+package component:test-wasi-component;
+
+/// An example world for the component to target.
+world example {
+ export hello-world: func() -> string;
+}