Merge pull request #93 from wuyumin/yumin-dev

update  files for compiler
This commit is contained in:
Sijie.Sun 2024-05-08 22:29:45 +08:00 committed by GitHub
commit 076f6cd965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,14 @@
[target.x86_64-unknown-linux-musl]
linker = "rust-lld"
rustflags = ["-C", "linker-flavor=ld.lld"]
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=+crt-static"]
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]