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
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99

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