You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-39Lines changed: 2 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,6 @@ As more components are written in JavaScript, and there exist scenarios where mu
49
49
50
50
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.
51
51
52
-
### Weval AOT Compilation
53
-
54
-
55
52
## Platform APIs
56
53
57
54
The following APIs are available:
@@ -106,23 +103,7 @@ See [types.d.ts](types.d.ts) for the full interface options.
106
103
107
104
The component itself can be executed in any component runtime, see the [example](EXAMPLE.md) for an end to end workflow in Wasmtime.
108
105
109
-
### AOT Compilation
110
-
111
-
To enable AOT compilation, set the `enableAot: true` option to run [Weval][weval] ahead-of-time compilation.
112
-
113
-
AOT compilation can also be configured with the following options:
|`aotMinStackSizeBytes`| `nubmer | Number | bigint | BigInt` |`2_007_846_092`| The minimum stack size (via `RUST_MIN_STACK` to set when running `weval`|
To use a custom (pre-downloaded) [`weval`][weval] binary, set the `wevalBin` option to the path to your desired weval binary.
124
-
125
-
### Custom `wizer` binary when AOT is disabled
106
+
### Custom `wizer` binary
126
107
127
108
To use a custom (pre-downloaded) [`wizer`](https://github.com/bytecodealliance/wizer) binary, set the `wizerBin` option to the path to your desired wizer binary.
128
109
@@ -229,18 +210,6 @@ export function componentize(opts: {
229
210
* Path to custom ComponentizeJS engine build to use
230
211
*/
231
212
engine?:string;
232
-
/**
233
-
* Path to custom weval cache to use
234
-
*/
235
-
aotCache?:string;
236
-
/**
237
-
* Enable AoT using weval
238
-
*/
239
-
enableAot?:boolean;
240
-
/**
241
-
* Use a pre-existing path to the `weval` binary, if present
242
-
*/
243
-
wevalBin?:string;
244
213
/**
245
214
* Use a pre-existing path to the `wizer` binary, if present
246
215
*/
@@ -266,7 +235,7 @@ export function componentize(opts: {
266
235
*/
267
236
enableFeatures?: [];
268
237
/**
269
-
* Pass environment variables to the spawned Wizer or Weval Process
238
+
* Pass environment variables to the spawned Wizer Process
270
239
* If set to true, all host environment variables are passed
271
240
* To pass only a subset, provide an object with the desired variables
272
241
*/
@@ -347,12 +316,6 @@ npm run build
347
316
348
317
Beforebeingabletouse`componetize-js` (ex. via`npm link`, from`jco`), you'll need to run:
349
318
350
-
```
351
-
npm run build:weval
352
-
```
353
-
354
-
This will produce a few files, most importantly `lib/starlingmonkey_embedding_weval.wasm`.
0 commit comments