How nodejs bundles all c / c ++ built-in modules

Since version 0.11.11, src/node_extensions.h

which all c / C ++ builtins are linked to, has been removed. I wonder where these built-ins are now linked from node_xxx

? Is it from node.gyp

?

In the meantime, I checked the get_builtin_module

function in src/node.cc

. This means that the inline module chain is in modlist_builtin

. So my question could also arise from where this one comes from modlist_builtin

.

+3


source to share





All Articles