Disable use of lld (#1782)

* Update justfile to use lld on macOS and Linux

When cargo-zigbuild is not used

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Delete .cargo/config.toml

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update justfile to use lld as long as cargo-zigbuild isn't used

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Disable lld again

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-18 21:58:51 +10:00 committed by GitHub
parent ee16116583
commit fc1117d0e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 19 deletions

View file

@ -133,10 +133,8 @@ rustc-miropt := "" # if for-release != "" { " -Z mir-opt-level=4" } else { "" }
# This option is disabled on windows since it not supported.
rust-lld := "" #if use-cargo-zigbuild != "" {
#""
#} else if target-os != "windows" {
#" -Z gcc-ld=lld"
#} else {
#""
#" -C link-arg=-fuse-ld=lld"
#}
# ICF: link-time identical code folding