readme: fix zig-js-runtime step

This commit is contained in:
Pierre Tachoire
2024-05-14 12:22:13 +02:00
parent f040f422e4
commit 5fbbf1b59f

View File

@@ -59,20 +59,20 @@ https://microsoft.github.io/mimalloc/environment.html
### Build zig-js-runtime ### Build zig-js-runtime
The command `make install-jsruntime-dev` uses zig-js-runtime's `zig-v8` dependency to build v8 engine lib. The command `make install-zig-js-runtime-dev` uses zig-js-runtime's `zig-v8` dependency to build v8 engine lib.
Be aware the build task is very long and cpu consuming. Be aware the build task is very long and cpu consuming.
Build v8 engine for debug/dev version, it creates Build v8 engine for debug/dev version, it creates
`vendor/zig-js-runtime/vendor/v8/$ARCH/debug/libc_v8.a` file. `vendor/zig-js-runtime/vendor/v8/$ARCH/debug/libc_v8.a` file.
``` ```
make install-jsruntime-dev make install-zig-js-runtime-dev
``` ```
You should also build a release vesion of v8 with: You should also build a release vesion of v8 with:
``` ```
make install-jsruntime make install-zig-js-runtime
``` ```
### All in one build ### All in one build