Skip to content

Commit 7e2cbb9

Browse files
authored
Add warning about experimental status (nodejs#163)
1 parent 795ba36 commit 7e2cbb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/node.cc

+5
Original file line numberDiff line numberDiff line change
@@ -4480,6 +4480,11 @@ inline int Start(Isolate* isolate, IsolateData* isolate_data,
44804480
if (debug_enabled)
44814481
EnableDebug(&env);
44824482

4483+
if (load_napi_modules) {
4484+
ProcessEmitWarning(&env, "N-API is an experimental feature "
4485+
"and could change at any time.");
4486+
}
4487+
44834488
{
44844489
SealHandleScope seal(isolate);
44854490
bool more;

0 commit comments

Comments
 (0)