Update cargo config (#11)

static link to crt on windows
This commit is contained in:
Sijie.Sun 2024-02-03 00:20:05 +08:00 committed by GitHub
parent aeb00fb42f
commit 6f8ca8bbb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,4 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]