Skip to content

Commit

Permalink
cargo: build with crt-static on windows
Browse files Browse the repository at this point in the history
Avoids a runtime dependency on vcruntime140.dll

Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Jul 15, 2024
1 parent df02108 commit 902b634
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]

0 comments on commit 902b634

Please sign in to comment.