additional file fix

This commit is contained in:
Jorijn van der Graaf 2025-11-09 20:08:23 +01:00
commit 698665215b
9 changed files with 64 additions and 88 deletions

21
examples/wasi/README.md Normal file
View file

@ -0,0 +1,21 @@
# WASI Example
## Description
This example demonstrates how to build a WASI project
## Expected Result
Hello World! appears in the browser console.
## How to Run
```bash
crafter-build build executable
run.sh
```
and go to `http://localhost:8080/`
if caddy is not installed you can use your favorite static file server instead

View file

@ -2,7 +2,7 @@
"name": "main",
"configurations": [
{
"name": "example",
"name": "executable",
"implementations": ["main"],
"target": "wasm32-wasi"
}

View file

@ -1 +1 @@
caddy file-server --listen :8080 --root bin/example
caddy file-server --listen :8080 --root bin/executable