src: remove misplaced windows code under posix guard in node.cc · nodejs/node@0c58d03 · GitHub
Skip to content

Commit 0c58d03

Browse files
thisalihassanaduh95
authored andcommitted
src: remove misplaced windows code under posix guard in node.cc
The V8 WebAssembly trap handler setup for Windows was incorrectly nested within a POSIX conditional compilation block in src/node.cc. This caused the related functions to be effectively non-operational on Windows. The changes involve removing the Windows-specific code from the POSIX section and correctly placing it under the WIN32 check. This fix will ensure that the intended exception handling is active on Windows builds. Fixes: #52404 Refs: #35033 PR-URL: #52545 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 3987a28 commit 0c58d03

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/node.cc

Lines changed: 9 additions & 9 deletions

0 commit comments

Comments
 (0)