diff options
author | Dominic Elm <elmdominic@gmx.net> | 2021-09-02 16:17:42 +0300 |
---|---|---|
committer | Bradley Farias <bradley.meck@gmail.com> | 2021-09-10 18:54:39 +0300 |
commit | a9dd03b1ec89a75186f05967fc76ec0704050c36 (patch) | |
tree | db9cd062535160d91bd45f178b9761259ca9e2dd /src/node_options.h | |
parent | a42bd7e944ed422adb78f767c7a9b3187989234a (diff) |
src: add option to disable loading native addons
PR-URL: https://github.com/nodejs/node/pull/39977
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_options.h b/src/node_options.h index 36b5ed40197..1ef3c5216e0 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -121,6 +121,7 @@ class EnvironmentOptions : public Options { uint64_t max_http_header_size = 16 * 1024; bool deprecation = true; bool force_async_hooks_checks = true; + bool allow_native_addons = true; bool warnings = true; bool force_context_aware = false; bool pending_deprecation = false; |