summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2019-09-19 22:16:04 -0700
committerRich Trott <rtrott@gmail.com>2019-09-24 22:49:33 -0700
commit3c17f160e39d96d6e29b3e379bdf20169bacd75f (patch)
tree657dbcb10e25af817f6518a4a96927f05e8fec5c /doc
parent5058c7f13838801cdc1155227f9aa7267507b49a (diff)
downloadandroid-node-v8-3c17f160e39d96d6e29b3e379bdf20169bacd75f.tar.gz
android-node-v8-3c17f160e39d96d6e29b3e379bdf20169bacd75f.tar.bz2
android-node-v8-3c17f160e39d96d6e29b3e379bdf20169bacd75f.zip
src: add buildflag to force context-aware addons
PR-URL: https://github.com/nodejs/node/pull/29631 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md8
-rw-r--r--doc/api/errors.md5
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 8a1ca4893a..f6eabf137d 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -411,6 +411,13 @@ added: v6.0.0
Silence all process warnings (including deprecations).
+### `--force-context-aware`
+<!-- YAML
+added: REPLACEME
+-->
+
+Disable loading non-context-aware native addons.
+
### `--openssl-config=file`
<!-- YAML
added: v6.9.0
@@ -980,6 +987,7 @@ Node.js options that are allowed are:
* `--experimental-report`
* `--experimental-vm-modules`
* `--experimental-wasm-modules`
+* `--force-context-aware`
* `--force-fips`
* `--frozen-intrinsics`
* `--heapsnapshot-signal`
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 989811fea9..34412648b3 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1611,6 +1611,11 @@ OpenSSL crypto support.
An attempt was made to use features that require [ICU][], but Node.js was not
compiled with ICU support.
+<a id="ERR_NON_CONTEXT_AWARE_DISABLED"></a>
+### ERR_NON_CONTEXT_AWARE_DISABLED
+
+A non-context-aware native addon was loaded in a process that disallows them.
+
<a id="ERR_OUT_OF_RANGE"></a>
### ERR_OUT_OF_RANGE