build: add --enable-all-experimentals build flag · nodejs/node@9ff36e4 · GitHub
Skip to content

Commit 9ff36e4

Browse files
ShogunPandasxa
authored andcommitted
build: add --enable-all-experimentals build flag
Signed-off-by: Paolo Insogna <paolo@cowtech.it> PR-URL: #62755 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Signed-off-by: Stewart X Addison <sxa@ibm.com>
1 parent 2390e3a commit 9ff36e4

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

common.gypi

Lines changed: 4 additions & 0 deletions

configure.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,12 @@
731731
default=None,
732732
help='Enable the --trace-maps flag in V8 (use at your own risk)')
733733

734+
parser.add_argument('--enable-all-experimentals',
735+
action='store_true',
736+
dest='enable_all_experimentals',
737+
default=None,
738+
help='Enable all experimental features by default')
739+
734740
parser.add_argument('--experimental-enable-pointer-compression',
735741
action='store_true',
736742
dest='enable_pointer_compression',
@@ -1608,6 +1614,7 @@ def configure_node_cctest_sources(o):
16081614
def configure_node(o):
16091615
if options.dest_os == 'android':
16101616
o['variables']['OS'] = 'android'
1617+
o['variables']['node_enable_experimentals'] = b(options.enable_all_experimentals)
16111618
o['variables']['node_prefix'] = options.prefix
16121619
o['variables']['node_install_npm'] = b(not options.without_npm)
16131620
o['variables']['node_install_corepack'] = b(not options.without_corepack)

src/node_options.h

Lines changed: 13 additions & 9 deletions

0 commit comments

Comments
 (0)