From f4833ff595095a49f0c655360cd402c29e7f8af9 Mon Sep 17 00:00:00 2001 From: Keyhan Vakil Date: Sun, 19 Mar 2023 00:20:58 +0000 Subject: [PATCH] fixup! src: stop copying code cache --- src/node.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/node.h b/src/node.h index fc2531f8677e70..0d291d305e5b58 100644 --- a/src/node.h +++ b/src/node.h @@ -504,6 +504,9 @@ struct IsolateSettings { // feature during the build step by passing the --disable-shared-readonly-heap // flag to the configure script. // +// The snapshot *must* be kept alive during the execution of the environment / +// isolate that it is derived from. +// // Snapshots are an *experimental* feature. In particular, the embedder API // exposed through this class is subject to change or removal between Node.js // versions, including possible API and ABI breakage.