DenoDDeno
Powered by
RaefkoR
Denoβ€’3y agoβ€’
1 reply
Raefko

How to build rusty_v8 with old v8 version?

Hello all !
I am trying to build rusty_v8 (https://github.com/denoland/rusty_v8) with an old version of v8.
I saw that there is an env var
RUSTY_V8_ARCHIVE
RUSTY_V8_ARCHIVE
, so i tried to build v8 from the official repository as a static library.
I tried using this
target_os = "linux"
is_debug = false
target_cpu = "x64"
use_custom_libcxx = false
clang_use_chrome_plugins = false
is_component_build = false
is_clang = true
v8_static_library = true
v8_use_external_startup_data = false
v8_enable_test_features = false
v8_enable_i18n_support = false
treat_warnings_as_errors = false
target_os = "linux"
is_debug = false
target_cpu = "x64"
use_custom_libcxx = false
clang_use_chrome_plugins = false
is_component_build = false
is_clang = true
v8_static_library = true
v8_use_external_startup_data = false
v8_enable_test_features = false
v8_enable_i18n_support = false
treat_warnings_as_errors = false


Im getting multiple
.a
.a
and I don't know which one to use, but trying with
libv8_libbase.a
libv8_libbase.a
throw me this error
error: failed to build archive: 'v8_libbase/bits.o': No such file or directory
error: failed to build archive: 'v8_libbase/bits.o': No such file or directory


Can you please help me compile v8 as a static library to use it with rusty_v8?
Thanks !
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

rusty_v8 - how to pass data from js/v8 into rust
WereiiWWereii / help
3y ago
How to use set_internal_field of rusty v8?
xiaoasXxiaoas / help
2y ago
rusty_v8, how to mutate scope outside anonymous function
NitwelNNitwel / help
2y ago