New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support x86_64-pc-windows-gnu
toolchain ?
#2001
Comments
win32-x64-gnu
toolchain ?x86_64-pc-windows-gnu
toolchain ?
Discuss happened before: https://discord.com/channels/874290842444111882/874290843262021705/1198267685138604132 |
Any plan ? |
@abcfy2 no, unless there are official Node.js releases for the |
related #1893 This impedes some work on rollup |
At least write some docs on how to build this from source. I've been struggling, it seems it builds without errors, however when doing cargo test, I get the warning
running some c code msys2/MINGW-packages#20407 (comment) it seems GetProcAddress can indeed get the address from the dll. However not sure how to tell that to rust. |
Here I try to create a minimal example
it really does not want to load the bindings, the code is minimal |
yeah so the thing is nodejs does not load the bindings, you have to link to libnode.dll directly, which you never do. You try to load them from the current process using I have to admit I have not verified if solving this problem will make it work, so I am not sure if there are further issues than this |
I uses msys2 rust, which build target is
x86_64-pc-windows-gnu
(output file name isindex.win32-x64-gnu.node
). I hope this toolchain could be supported. Currently onlywin32-x64-msvc
supported.And the generated
index.js
only judgementsx86_64-pc-windows-msvc
:The text was updated successfully, but these errors were encountered: