diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 15:16:05 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-26 15:16:05 +0100 |
| commit | d8d439e6401607fab18feb5025f3b91f135e3a50 (patch) | |
| tree | f20f1d5961a5b0810cceca575a206ad45d2a3a9c /examples/README.md | |
| parent | 67f0fd68f1f60f0629d997d5181e5e06440258d7 (diff) | |
feat: add more examples, work on new public api
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/README.md')
| -rw-r--r-- | examples/README.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/README.md b/examples/README.md index ce47073..94f974b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,10 +1,10 @@ # Examples -## WasmRust +## Wasm-Rust These are examples using WebAssembly generated from Rust code. -To run these, you first need to build the Rust code into WebAssembly, since the wasm files are not included in the repository to keep it small. -This requires the `wasm32-unknown-unknown` target and `wasm-opt` to be installed (available via Binaryen). +To run these, you first need to build the Rust code, since the resulting wasm files are not included in the repository to keep it small. +This requires the `wasm32-unknown-unknown` target and `wasm-opt` to be installed (available via [Binaryen](https://github.com/WebAssembly/binaryen)). ```bash $ ./examples/rust/build.sh @@ -20,3 +20,4 @@ Where `<example>` is one of the following: - `hello`: A simple example that prints a number to the console. - `tinywasm`: Runs `hello` using TinyWasm - inside of TinyWasm itself! +- `fibonacci`: Calculates the x-th Fibonacci number. |
