v2 nearly done

This commit is contained in:
Jorijn van der Graaf 2026-04-27 07:04:42 +02:00
commit f13671b2be
24 changed files with 1467 additions and 314 deletions

View file

@ -1,21 +0,0 @@
# 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

@ -1,5 +0,0 @@
import std;
int main() {
std::println("Hello World!");
}

View file

@ -1,10 +0,0 @@
{
"name": "main",
"configurations": [
{
"name": "executable",
"implementations": ["main"],
"target": "wasm32-wasi"
}
]
}

View file

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