-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix: enable static link for windows-msvc #308
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks! There is a test case that needs to be skipped, so please rebase the main branch. |
@yisibl done 😉 |
I would like to confirm that the users who are prompted for missing |
Yeah exactly |
It looks like x86 needs to be added as well: [target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"] |
Currently |
Yeah I saw your PR 😅 |
By the way, what app are you using resvg-js in? |
I was using it in bs-manager to make dynamic shortcut icon from an svg, but as I said for now I've switch to |
@Zagrios I've released v2.6.1-beta.0, please try it. |
@yisibl yup, it's working perfectly fine now 👌 |
The generated
.node
file for Windows require certain DLLs which may not be present, especially in applications used by end-users which can lead to a `Missing DLL error.It was my case with some users with my application so I've switch to
sharp
for now.With Dependencies we can see the amount of needed DLLs is greatly reduce with static link :
The size of the generated
.node
file is a slightly larger tho