Link the C runtime statically instead of shipping vcruntime140.dll (#57)
The installed app then depends only on Windows libraries, whatever Visual Studio redistributable the build machine has. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
18e9db54fc
commit
611a19ce28
3 files changed
+4
-16
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# Link the MSVC C runtime into the executable: the installer ships no vcruntime140.dll (ADR-0005).
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
Reference in new issue
Block a user