pijul_org / pijul

#40 Avoid the need of an additional vcruntime-DLL

Opened by sspringer, on April 9, 2017
sspringer commented on April 9, 2017

To avoid the need of an additional vcruntime-DLL for Windows, a program can be statically linked see https://helloacm.com/how-to-static-link-vc-runtime-in-visual-c/

pmeunier commented on April 12, 2017

Pijul 0.4.2 will be released today, and should use that, thanks for the suggestion.\r + \r + Note: compiling pijul this way required nightly, and the following lines in .cargo\config in my home:\r + \r +

[target.x86_64-pc-windows-msvc]\r                                                                                                                       +
rustflags = ["-Ctarget-feature=+crt-static", "-Zunstable-options"]\r                                                                                    +
```\r                                                                                                                                                   +
\r                                                                                                                                                      +
Taken from [https://users.rust-lang.org/t/statically-linking-to-crt-on-msvc/9755](https://users.rust-lang.org/t/statically-linking-to-crt-on-msvc/9755).
pmeunier commented on April 13, 2017

Pijul 0.4.4 was released today, and doesn't need that anymore.