Statically link C runtime

This commit is contained in:
Philip Kristoffersen
2022-05-31 16:40:38 +02:00
parent 52206c0e33
commit ee737e6014
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
[target.x86_64-pc-windows-gnu]
linker = "/usr/bin/x86_64-w64-mingw32-gcc"
ar = "/usr/x86_64-w64-mingw32/bin/ar"
ar = "/usr/x86_64-w64-mingw32/bin/ar"
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]