Skip to content

Commit

Permalink
Enable -Z gcc-ld=lld only on linux
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Feb 19, 2023
1 parent 6426265 commit 38dde7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ 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" {
} else if target-os == "linux" {
" -Z gcc-ld=lld"
} else {
""
Expand Down

0 comments on commit 38dde7d

Please sign in to comment.