jj/.cargo/config.toml
Austin Seipp 6c54b66fac cargo: build with crt-static on windows
Avoids a runtime dependency on vcruntime140.dll

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2024-07-17 07:40:30 -05:00

5 lines
260 B
TOML

# 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"]