mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
tools: 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>
This commit is contained in:
1 file changed
+6
-3
@@ -602,7 +602,8 @@
|
||||
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.h',
|
||||
],
|
||||
}],
|
||||
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
|
||||
# TODO(targos): Replace False with OS=="win" if handler-outside-simulator.cc becomes compatible with MSVC.
|
||||
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or False)', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/trap-handler/trap-handler-simulator.h',
|
||||
],
|
||||
@@ -822,13 +823,15 @@
|
||||
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
|
||||
],
|
||||
}],
|
||||
['_toolset=="host" and host_arch=="x64" and OS=="win"', {
|
||||
# TODO(targos): Replace False with OS=="win" if handler-outside-simulator.cc becomes compatible with MSVC.
|
||||
['_toolset=="host" and host_arch=="x64" and False', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/trap-handler/handler-inside-win.cc',
|
||||
'<(V8_ROOT)/src/trap-handler/handler-outside-win.cc',
|
||||
],
|
||||
}],
|
||||
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
|
||||
# TODO(targos): Replace False with OS=="win" if handler-outside-simulator.cc becomes compatible with MSVC.
|
||||
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or False)', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user