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
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ To build from source, you need to ensure that the headers and object files for t
24
24
25
25
Alternatively, the engine can also be built from source using `c-dependencies/spidermonkey/build-engine.sh`. That should only be required if you want to modify the engine itself, however.
26
26
27
-
In additon you need to have the following tools installed to successfully build, and build from a linux based system.
27
+
In addition you need to have the following tools installed to successfully build, and build from a linux based system.
28
28
29
29
- Rust
30
30
```
@@ -43,21 +43,25 @@ In additon you need to have the following tools installed to successfully build,
- rust version - the rust version may need to be pinned due to the WASI spidermonkey version, the current version can be found at [main.yml](.github/workflows/main.yml) under "Install pinned Rust version and wasm32-wasi target"
58
60
```
59
61
rustup update 1.57.0 --no-self-update
60
-
rustup default 1.57.0
62
+
63
+
cd /location/of/js-compute-runtime
64
+
rustup override set 1.57.0
61
65
```
62
66
63
67
Once that is done, the runtime and the CLI tool for applying it to JS source code can be built using cargo:
0 commit comments