Commit 1861d05
committed
windows: Statically link vcruntime DLL
Otherwise it won't run on some freshly installed machines.
Windows complains that `vcruntime140.dll` is missing.
Users would have to install the MSVC C++ Redistributable package.
This is the same fix as in FrameworkComputer/qmk_hid.
The measurements of that binary are:
On a local build of `cargo clean; cargo build --release`:
Size of .exe before: 857 KB
Size of .exe after: 878 KB
Note: Only affects release builds! I think that's because the debug version of this DLL isn't redistributable.
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent 818691b commit 1861d05
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments