diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000000..bdc08b95f2 --- /dev/null +++ b/.cargo/config.toml @@ -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"] diff --git a/CHANGELOG.md b/CHANGELOG.md index b26e7da4f5..c73e5f554e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,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