Skip to content

Commit 0ba6b14

Browse files
committed
Updated the docs about supported runtimes
1 parent 3e1853e commit 0ba6b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To enable as-bind for your AssemblyScript Wasm modules, add the as-bind entrypoi
5858
The two things to note are:
5959

6060
- `./node_modules/as-bind/lib/assembly/as-bind.ts` - This is the as-bind entryfile, used for exporting IDs of AssemblyScript classes so we can use them for instantiating new classes
61-
- `--runtime incremental` - This specifies that we are using the incremental runtime / garbage collection option (The AssemblyScript default).
61+
- `--runtime incremental` - This specifies that we are using the incremental runtime / garbage collection option (The AssemblyScript default). However, [all the runtime options](https://www.assemblyscript.org/garbage-collection.html) are supported (incremental, minimal, and stub).
6262
- `--exportRuntime` - This allows us to use the [AssemblyScript Garbage Collection functions added in 0.18.x](https://www.assemblyscript.org/garbage-collection.html)
6363

6464
For **optional testing purposes** , let's export an example function we can try in `your-entryfile.ts`:

0 commit comments

Comments
 (0)