Make fact example a wasi:cli command that prints its result

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-21 17:51:26 -08:00
1 parent 987cdf256b
commit 38f7b934b5
3 files changed
+38 -3

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ runtime: the output is hand-encoded machine code in one or two `PT_LOAD` segment
```
just run sum # core module -> ELF, runs it, prints the exit code
just run-component hello # wasi:cli component -> ELF, prints "Hello from wasi:cli!"
just run-component fact # wasi:cli component -> ELF, prints "fact(5) = 120"
just examples # everything in examples/
```