mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
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:
parent
ee16116583
commit
fc1117d0e4
2 changed files with 1 additions and 19 deletions
|
@ -1,16 +0,0 @@
|
||||||
[target.x86_64-pc-windows-msvc]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
[target.x86_64-pc-windows-gnu]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
|
|
||||||
[target.aarch64-pc-windows-msvc]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
[target.aarch64-pc-windows-gnu]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
|
|
||||||
[target.x86_64-apple-darwin]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
[target.x86_64h-apple-darwin]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
||||||
[target.aarch64-apple-darwin]
|
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
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.
|
# This option is disabled on windows since it not supported.
|
||||||
rust-lld := "" #if use-cargo-zigbuild != "" {
|
rust-lld := "" #if use-cargo-zigbuild != "" {
|
||||||
#""
|
#""
|
||||||
#} else if target-os != "windows" {
|
|
||||||
#" -Z gcc-ld=lld"
|
|
||||||
#} else {
|
#} else {
|
||||||
#""
|
#" -C link-arg=-fuse-ld=lld"
|
||||||
#}
|
#}
|
||||||
|
|
||||||
# ICF: link-time identical code folding
|
# ICF: link-time identical code folding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue