Investigating a segfault in my code, looking for GetBuiltinsCount
in the V8 source code leads me to this comment:
/**
* NativesStore stores the 'native' (builtin) JS libraries.
*
* NativesStore needs to be initialized before using V8, usually by the
* embedder calling v8::SetNativesDataBlob, which calls SetNativesFromFile
* below.
*/
How am I, the embedder supposed to use v8::SetNativesDataBlob
?
The d8 interpreter does call this method, but it's not at all clear what it's doing and why. The basic samples do not call this method.