Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2022-03-24 16:37:08 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2022-03-31 14:29:12 +0300
commit37aee80643822c8c9ff35c906d034ecc8fc448d5 (patch)
tree65a9107f2ed3b7e4cdaf38936a1df65ccd25a587 /src/node_binding.cc
parent8a297ba3a0aa39afb7c84fceee4accff609b7cfe (diff)
build: add --node-snapshot-main configure option
This adds a --build-snapshot runtime option which is currently only supported by the node_mksnapshot binary, and a --node-snapshot-main configure option that makes use it to run a custom script when building the embedded snapshot. The idea is to have this experimental feature in core as a configure-time feature for now, and investigate the renaming V8 bugs before we make it available to more users via making it a runtime option. PR-URL: https://github.com/nodejs/node/pull/42466 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Diffstat (limited to 'src/node_binding.cc')
-rw-r--r--src/node_binding.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_binding.cc b/src/node_binding.cc
index 050c5dff0ad..ed8ab9237fd 100644
--- a/src/node_binding.cc
+++ b/src/node_binding.cc
@@ -59,6 +59,7 @@
V(js_udp_wrap) \
V(messaging) \
V(module_wrap) \
+ V(mksnapshot) \
V(native_module) \
V(options) \
V(os) \