Open devraymondsh opened 3 months ago
cc @nodejs/platform-windows-arm
I've investigated this and can confirm the behavior. The issue is that the project used for generating the DLL gen_node_def
is not compiled for the host architecture but for the target one. That is why there is no gen_node_def_host.exe
. gen_node_def.exe
does exist but cannot be executed on an x64 machine since it is built for ARM64.
By the looks of things, this never worked but is caught just now.
Version
v21.7.3
Platform
Microsoft Windows NT 10.0.20348.0 x64
What steps will reproduce the bug?
Cross-compiling for Windows ARM64 on a Windows x86_64 machine.
What is the expected behavior? Why is that the expected behavior?
Should compile.
What do you see instead?
Here's the log:
Additional information
Compiling as a shared library with: