aboutsummaryrefslogtreecommitdiff
path: root/firefox/fix-target-detection.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-22 14:33:33 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-22 14:33:33 +0000
commit4efda9844b9028c843ee11e3000c9e62307e7371 (patch)
tree120f6702fb5d69dd3df4eff0daa816820b4e64dd /firefox/fix-target-detection.patch
parente780a8dbd567955bb90e3e1376d52f7c1ea21fd8 (diff)
downloadalicelinux-4efda9844b9028c843ee11e3000c9e62307e7371.tar.gz
alicelinux-4efda9844b9028c843ee11e3000c9e62307e7371.zip
Woodpecker CI 00260865a58e692dcab21c7b52218c1c6aaa1703 [SKIP CI]
Diffstat (limited to 'firefox/fix-target-detection.patch')
-rw-r--r--firefox/fix-target-detection.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/firefox/fix-target-detection.patch b/firefox/fix-target-detection.patch
deleted file mode 100644
index 8e115a3d..00000000
--- a/firefox/fix-target-detection.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure
-index 7a2fd1a..ba5ba62 100644
---- a/build/moz.configure/rust.configure
-+++ b/build/moz.configure/rust.configure
-@@ -403,9 +403,13 @@ def detect_rustc_target(
- ]
- if len(narrowed) == 1:
- return narrowed[0].rust_target
-+ elif narrowed:
-+ candidates = narrowed
-+
-+ aliased_vendor = "unknown" if host_or_target.vendor == "pc" else host_or_target.vendor
-
- # Finally, see if the vendor can be used to disambiguate.
-- narrowed = [c for c in candidates if c.target.vendor == host_or_target.vendor]
-+ narrowed = [c for c in candidates if c.target.vendor == aliased_vendor]
- if len(narrowed) == 1:
- return narrowed[0].rust_target
-