build(native): static link vc runtime on WOA (#8787)

This commit is contained in:
Brooooooklyn
2024-11-12 05:32:23 +00:00
parent bfc8b93a96
commit e6a4fc7210
+2
View File
@@ -1,2 +1,4 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]