mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-24 06:19:42 +00:00
cargo: build with crt-static on windows
Avoids a runtime dependency on vcruntime140.dll Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
f2bfb90c8c
commit
6c54b66fac
2 changed files with 8 additions and 0 deletions
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
# NOTE: on Windows, build with the static CRT, so that produced .exe files don't
|
||||
# depend on vcruntime140.dll; otherwise the user requires visual studio if they
|
||||
# download a raw .exe
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-Ctarget-feature=+crt-static"]
|
|
@ -67,6 +67,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||
|
||||
* `jj diff --git` no longer shows the contents of binary files.
|
||||
|
||||
* Windows binaries no longer require `vcruntime140.dll` to be installed
|
||||
(normally through Visual Studio.)
|
||||
|
||||
## [0.19.0] - 2024-07-03
|
||||
|
||||
### Breaking changes
|
||||
|
|
Loading…
Reference in a new issue