diff options
Diffstat (limited to 'rust/hello_world/wit/my-component.wit')
-rw-r--r-- | rust/hello_world/wit/my-component.wit | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/hello_world/wit/my-component.wit b/rust/hello_world/wit/my-component.wit new file mode 100644 index 0000000..5ce6b6f --- /dev/null +++ b/rust/hello_world/wit/my-component.wit @@ -0,0 +1,8 @@ +// wit/my-component.wit + +package my:project; + +world hello-world { + import name: func() -> string; + export greet: func(); +} |