mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Update justfile to use lld as long as cargo-zigbuild isn't used
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
aeeb645736
commit
bae3fd62f1
1 changed files with 1 additions and 3 deletions
4
justfile
4
justfile
|
@ -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" {
|
||||
" -C link-arg=-fuse-ld=lld"
|
||||
} else {
|
||||
""
|
||||
" -C link-arg=-fuse-ld=lld"
|
||||
}
|
||||
|
||||
# ICF: link-time identical code folding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue