Skip to content

Conversation

@JohnAZoidberg
Copy link
Member

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#10. 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.

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>
@JohnAZoidberg JohnAZoidberg merged commit 423796c into main Jun 28, 2023
@JohnAZoidberg JohnAZoidberg deleted the static-vcruntime branch June 28, 2023 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants