diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-10-20 15:37:54 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-04-12 23:09:45 +0300 |
commit | 2d2cef14b1570569de5553b30939e87717d6d165 (patch) | |
tree | 00234a6f00bea0f9035ff02cabc5f38751dc182f /deps | |
parent | 1132d044db74d8980a375758d97b3f4e99d384a8 (diff) |
deps: disable trap handler for Windows cross-compiler
`handler-outside-simulator.cc` uses inline assembly, which is not
supported by MSVC.
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps')
-rw-r--r-- | deps/v8/src/trap-handler/trap-handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/trap-handler/trap-handler.h b/deps/v8/src/trap-handler/trap-handler.h index 84ffdbd0567..1aa7a305c7e 100644 --- a/deps/v8/src/trap-handler/trap-handler.h +++ b/deps/v8/src/trap-handler/trap-handler.h @@ -27,7 +27,7 @@ namespace trap_handler { #define V8_TRAP_HANDLER_SUPPORTED true // Arm64 simulator on x64 on Linux, Mac, or Windows. #elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && \ - (V8_OS_LINUX || V8_OS_DARWIN || V8_OS_WIN) + (V8_OS_LINUX || V8_OS_DARWIN) #define V8_TRAP_HANDLER_VIA_SIMULATOR #define V8_TRAP_HANDLER_SUPPORTED true // Everything else is unsupported. |