Miscelaneous docs updates and fixes. (#1249)

Update references to things in CraneStation which have moved, WASI documentation
which has moved to the WASI repo, and fix a few typos.
This commit is contained in:
Dan Gohman
2020-03-08 08:11:17 -07:00
committed by GitHub
parent 0afa334f3e
commit fbe29da5cc
17 changed files with 30 additions and 2437 deletions

View File

@@ -191,14 +191,14 @@ and we have our new wasm binary!
We can then test out support for this with the CLI:
```sh
$ wasmtime --invoke greet ./target/wasm32-wasi/release/hello_world.wasm "wasmtime CLI"
$ wasmtime --invoke greet ./target/wasm32-wasi/release/hello_world.wasm "Wasmtime CLI"
warning: using `--invoke` with a function that takes arguments is experimental and may break in the future
warning: using `--invoke` with a function that returns values is experimental and may break in the future
Hello, wasmtime CLI!
Hello, Wasmtime CLI!
```
Here we can see some experimental warnings, but we got our error message printed
out! The first CLI parameter, `"wasmtime CLI"`, was passed as the first argument
out! The first CLI parameter, `"Wasmtime CLI"`, was passed as the first argument
of the `greet` function. The resulting string was then printed out to the
console.