summaryrefslogtreecommitdiffhomepage
path: root/test/wasm_component/hello_world/wit
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2024-05-17 17:42:11 +0100
committerAva Hahn <110854134+avahahn@users.noreply.github.com>2024-08-20 11:38:51 -0700
commitcad6aed526b38d52f13266120f9a4381f9a22cad (patch)
tree8108d85b8c56f01504fdf329de787b56c5b7d0a8 /test/wasm_component/hello_world/wit
parent593564fdd10da2bf4e76587a0482af72a9f1461b (diff)
downloadunit-cad6aed526b38d52f13266120f9a4381f9a22cad.tar.gz
unit-cad6aed526b38d52f13266120f9a4381f9a22cad.tar.bz2
Tests: initial "wasm-wasi-component" test
Diffstat (limited to 'test/wasm_component/hello_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;
+}