src: implement whatwg's URLPattern spec by anonrig · Pull Request #56452 · nodejs/node
Ada now enables exceptions just like UV and V8
Can you elaborate? libuv is a C library so I don't think exceptions exist there, and I'm pretty sure V8 is built with exceptions disabled.
My bad UV does not enable exceptions. Referencing v8.gyp file:
{
'target_name': 'torque_base',
'type': 'static_library',
'toolsets': ['host', 'target'],
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"torque_base.*?sources = ")',
],
'dependencies': [
'v8_shared_internal_headers',
'v8_libbase',
],
'defines!': [
'_HAS_EXCEPTIONS=0',
'BUILDING_V8_SHARED=1',
],
'cflags_cc!': ['-fno-exceptions'],
'cflags_cc': ['-fexceptions'],
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fexceptions
},
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeTypeInfo': 'true',
'ExceptionHandling': 1,
},
},
}