Skip to content

Commit 6e94ebe

Browse files
docs: add doc for AOT min stack size bytes
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent 6349e3e commit 6e94ebe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ The component iself can be executed in any component runtime, see the [example](
111111

112112
To enable AOT compilation, set the `enableAot: true` option to run [Weval][weval] ahead-of-time compilation.
113113

114+
AOT compilation can also be configured with the following options:
115+
116+
| Option | Example | Description |
117+
|------------------------|---------|--------------------------------------------------------------------------|
118+
| `aotMinStackSizeBytes` | `1234` | The minimum stack size (via `RUST_MIN_STACK` to set when running `weval` |
119+
114120
[weval]: https://github.com/bytecodealliance/weval
115121

116122
### Custom `weval` binary

0 commit comments

Comments
 (0)