wasm
This commit is contained in:
parent
47b135aca0
commit
f90881b03d
9824 changed files with 1706556 additions and 114 deletions
5
examples/wasi/main.cpp
Normal file
5
examples/wasi/main.cpp
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import std;
|
||||
|
||||
int main() {
|
||||
std::println("Hello World!");
|
||||
}
|
||||
10
examples/wasi/project.json
Normal file
10
examples/wasi/project.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "main",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "example",
|
||||
"implementations": ["main"],
|
||||
"target": "wasm32-wasi"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
examples/wasi/run.sh
Normal file
1
examples/wasi/run.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
caddy file-server --listen :8080 --root bin/example
|
||||
Loading…
Add table
Add a link
Reference in a new issue