From 958b2ba40b4d22b6445b577621996d496bbac0d1 Mon Sep 17 00:00:00 2001 From: legendecas Date: Wed, 8 Nov 2023 01:55:04 +0800 Subject: [PATCH] build: disable flag v8_scriptormodule_legacy_lifetime Usages of `v8::ScriptOrModule` were removed in https://github.com/nodejs/node/pull/44198 so the flag can be disabled by default. --- tools/v8_gypfiles/features.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index aa946a2774177f..b5738243363182 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -270,7 +270,7 @@ # Enable global allocation site tracking. 'v8_allocation_site_tracking%': 1, - 'v8_scriptormodule_legacy_lifetime%': 1, + 'v8_scriptormodule_legacy_lifetime%': 0, # Change code emission and runtime features to be CET shadow-stack compliant # (incomplete and experimental).