Removing the snapshot is not possible. It contains many of the JavaScript built-in functions (e.g. Array.prototype.*), so V8 couldn't work without it.
On Sun, Sep 26, 2021 at 2:20 PM MG <martin.guil...@akylas.fr> wrote: > I am part of the Nativescript <https://nativescript.org/> community. > There we use v8 to run all our apps JS code and bind it to native code. > Right now our v8(9.3) build is made of v8 modules "*v8_compiler > v8_base_without_compiler v8_libplatform v8_snapshot v8_libbase v8_bigint > torque_generated_initializers*" then run ar on them and build a lib from > that ( we use custom cxx lib) > For example our arm64 lib is 17Mb. I am trying to investigate how to make > it smaller. I would like to get rid of snapshot as we dont use it. However > the "snapshot" option seems to be gone. And if i remove *v8_snapshot *then > i ll get link errors because some snapshot stuff seems to be used in base. > Is there any way to make the libs smaller / remove snapshot? > > -- > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAKSzg3Sx4%2BTM33s%2B3s_WLn%3D08aZ_uW7trrs99vPagRk1-zLP9Q%40mail.gmail.com.