From bae3fd62f1a7268ed0f607dff801ac93cde62b24 Mon Sep 17 00:00:00 2001
From: Jiahao XU <Jiahao_XU@outlook.com>
Date: Tue, 18 Jun 2024 21:47:12 +1000
Subject: [PATCH] Update justfile to use lld as long as cargo-zigbuild isn't
 used

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---
 justfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/justfile b/justfile
index 500be54f..621c4a4a 100644
--- a/justfile
+++ b/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