File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 10091009 default = None ,
10101010 help = 'Enable the built-in snapshot compression in V8.' )
10111011
1012+
1013+ parser .add_argument ('--v8-enable-temporal-support' ,
1014+ action = 'store_true' ,
1015+ dest = 'v8_enable_temporal_support' ,
1016+ default = None ,
1017+ help = 'Enable Temporal support in V8.' )
1018+
10121019parser .add_argument ('--node-builtin-modules-path' ,
10131020 action = 'store' ,
10141021 dest = 'node_builtin_modules_path' ,
@@ -1802,6 +1809,7 @@ def configure_v8(o, configs):
18021809 o ['variables' ]['v8_enable_external_code_space' ] = 1 if options .enable_pointer_compression else 0
18031810 o ['variables' ]['v8_enable_31bit_smis_on_64bit_arch' ] = 1 if options .enable_pointer_compression else 0
18041811 o ['variables' ]['v8_enable_extensible_ro_snapshot' ] = 0
1812+ o ['variables' ]['v8_enable_temporal_support' ] = 1 if options .v8_enable_temporal_support else 0
18051813 o ['variables' ]['v8_trace_maps' ] = 1 if options .trace_maps else 0
18061814 o ['variables' ]['node_use_v8_platform' ] = b (not options .without_v8_platform )
18071815 o ['variables' ]['node_use_bundled_v8' ] = b (not options .without_bundled_v8 )
Original file line number Diff line number Diff line change 295295 # add a dependency on the ICU library.
296296 'v8_enable_i18n_support%' : 1 ,
297297
298+ # Enable Temporal API. Enabling this feature will
299+ # add a dependency on the temporal_rs library.
300+ 'v8_enable_temporal_support%' : 0 ,
301+
298302 # Lite mode disables a number of performance optimizations to reduce memory
299303 # at the cost of performance.
300304 # Sets --DV8_LITE_MODE.
410414 ['v8_enable_i18n_support==1' , {
411415 'defines' : ['V8_INTL_SUPPORT' ,],
412416 }],
417+ ['v8_enable_temporal_support==1' , {
418+ 'defines' : ['V8_TEMPORAL_SUPPORT' ,],
419+ }],
413420 # Refs: https://github.com/nodejs/node/pull/23801
414421 # ['v8_enable_handle_zapping==1', {
415422 # 'defines': ['ENABLE_HANDLE_ZAPPING',],
You can’t perform that action at this time.
0 commit comments