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
+7-41Lines changed: 7 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,23 +51,25 @@ Establishing this initial prototype as a singular flexible engine foundation tha
51
51
52
52
### Weval AOT Compilation
53
53
54
+
Note: unfortunately Weval AOT Compilation is disabled for the time being, due to incompatibilities with newer versions of the LLVM toolchain used to compile StarlingMonkey. See [this](https://bytecodealliance.zulipchat.com/#narrow/channel/459697-StarlingMonkey/topic/Updating.20Gecko.20version/near/527089464) and the following messages for details.
|`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
111
+
### Custom `wizer` binary
126
112
127
113
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
114
@@ -229,18 +215,6 @@ export function componentize(opts: {
229
215
* Path to custom ComponentizeJS engine build to use
230
216
*/
231
217
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
218
/**
245
219
* Use a pre-existing path to the `wizer` binary, if present
246
220
*/
@@ -266,7 +240,7 @@ export function componentize(opts: {
266
240
*/
267
241
enableFeatures?: [];
268
242
/**
269
-
* Pass environment variables to the spawned Wizer or Weval Process
243
+
* Pass environment variables to the spawned Wizer Process
270
244
* If set to true, all host environment variables are passed
271
245
* To pass only a subset, provide an object with the desired variables
272
246
*/
@@ -345,14 +319,6 @@ npm install
345
319
npm run build
346
320
```
347
321
348
-
Beforebeingabletouse`componetize-js` (ex. via`npm link`, from`jco`), you'll need to run:
349
-
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