rust-g icon indicating copy to clipboard operation
rust-g copied to clipboard

Statically link vcredist

Open Mothblocks opened this issue 2 years ago • 2 comments

We faced issues with a few people where they couldn't use even old copies of rust-g because of obscure "The specific procedure could not be found" errors. Eventually they had to install vcredist AND restart their computer before it was fixed.

We should statically link vcredist to stop errors like these.

You just need this in .cargo/config.toml:

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

(Also reminder to fix #86)

Mothblocks avatar May 26 '22 03:05 Mothblocks

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

:)

willox avatar May 26 '22 08:05 willox

gulp

Mothblocks avatar May 26 '22 16:05 Mothblocks