fix(native): static link msvc runtime on Windows (#3773)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
LongYinan 2023-08-17 03:55:37 +08:00 committed by GitHub
parent 61ba85e1f3
commit 64656c3c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]