Files
wasmtime/docs/assemblyscript-hello-world/wasi-hello-world.ts
Dan Gohman 09ccdc9285 Add documentation for building programs using AssemblyScript. (#1782)
* Add documentation for building programs using AssemblyScript.

* Add the assemblyscript hello world as an example and display it inline.

* Move the AssemblyScript hello world into the docs directory.

That way Cargo doesn't try to run it like a Rust example.
2020-05-28 17:16:20 -07:00

6 lines
79 B
TypeScript

import "wasi"
import {Console} from "as-wasi"
Console.log('Hello World!\n');