Disable lld again

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-18 21:52:57 +10:00 committed by GitHub
parent bae3fd62f1
commit 2e96e6067e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,11 +131,11 @@ rustc-miropt := "" # if for-release != "" { " -Z mir-opt-level=4" } else { "" }
#
# If cargo-zigbuild is used, then it will provide the lld linker.
# This option is disabled on windows since it not supported.
rust-lld := if use-cargo-zigbuild != "" {
""
} else {
" -C link-arg=-fuse-ld=lld"
}
rust-lld := "" #if use-cargo-zigbuild != "" {
#""
#} else {
#" -C link-arg=-fuse-ld=lld"
#}
# ICF: link-time identical code folding
#