Skip to content

Commit 75843fe

Browse files
author
Guy Bedford
committed
release prep
1 parent 814bdc0 commit 75843fe

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ As more components are written in JavaScript, and there exist scenarios where mu
4949

5050
Establishing this initial prototype as a singular flexible engine foundation that can be turned into a shared library is therefore the focus for this project.
5151

52+
### Weval AOT Compilation
53+
54+
55+
5256
## Platform APIs
5357

5458
The following APIs are available:
@@ -98,8 +102,14 @@ const { component } = await componentize(`
98102
await writeFile('test.component.wasm', component);
99103
```
100104

105+
See [types.d.ts](types.d.ts) for the full interface options.
106+
101107
The component iself can be executed in any component runtime, see the [example](EXAMPLE.md) for an end to end workflow in Wasmtime.
102108

109+
### AOT Compilation
110+
111+
To enable AOT compilation, set the `enableAot: true` option to run [Weval](https://github.com/cfallin/weval) ahead-of-time compilation.
112+
103113
### Async Support
104114

105115
To support asynchronous operations, all functions may optionally be written as sync or async functions, even though they will always be turned into sync component functions.

0 commit comments

Comments
 (0)