| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ const importObject = { wasi_snapshot_preview1: wasi.wasiImport }; | |||
| 32 | 32 | The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint` | |
| 33 | 33 | CLI arguments are needed for the previous example to run. | |
| 34 | 34 | ||
| 35 | - ## Class: WASI | ||
| 35 | + ## Class: `WASI` | ||
| 36 | 36 | <!-- YAML | |
| 37 | 37 | added: REPLACEME | |
| 38 | 38 | --> | |
@@ -43,7 +43,7 @@ represents a distinct sandbox environment. For security purposes, each `WASI` | |||
| 43 | 43 | instance must have its command line arguments, environment variables, and | |
| 44 | 44 | sandbox directory structure configured explicitly. | |
| 45 | 45 | ||
| 46 | - ### new WASI(\[options\]) | ||
| 46 | + ### `new WASI([options])` | ||
| 47 | 47 | <!-- YAML | |
| 48 | 48 | added: REPLACEME | |
| 49 | 49 | --> | |
@@ -59,7 +59,7 @@ added: REPLACEME | |||
| 59 | 59 | directories within the sandbox. The corresponding values in `preopens` are | |
| 60 | 60 | the real paths to those directories on the host machine. | |
| 61 | 61 | ||
| 62 | - ### wasi.start(instance) | ||
| 62 | + ### `wasi.start(instance)` | ||
| 63 | 63 | <!-- YAML | |
| 64 | 64 | added: REPLACEME | |
| 65 | 65 | --> | |
@@ -74,7 +74,7 @@ is present on `instance`, then `start()` does nothing. | |||
| 74 | 74 | `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named | |
| 75 | 75 | `memory`. If `instance` does not have a `memory` export an exception is thrown. | |
| 76 | 76 | ||
| 77 | - ### wasi.wasiImport | ||
| 77 | + ### `wasi.wasiImport` | ||
| 78 | 78 | <!-- YAML | |
| 79 | 79 | added: REPLACEME | |
| 80 | 80 | --> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments