This commit is contained in:
Jorijn van der Graaf 2025-11-09 18:56:24 +01:00
commit f90881b03d
9824 changed files with 1706556 additions and 114 deletions

5
examples/wasi/main.cpp Normal file
View file

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

View file

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

1
examples/wasi/run.sh Normal file
View file

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