Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 872936 Details for
Bug 915651
www-client/firefox-118.0.2: Don't know how to translate x86_64-gentoo-linux-musl for rustc with >=dev-lang/rust-1.73
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add gentoo vendor alias
add-rust-gentoo-vendor-alias.patch (text/plain), 1.02 KB, created by
Sven Volkinsfeld
on 2023-10-15 16:16:04 UTC
(
hide
)
Description:
Add gentoo vendor alias
Filename:
MIME Type:
Creator:
Sven Volkinsfeld
Created:
2023-10-15 16:16:04 UTC
Size:
1.02 KB
patch
obsolete
>diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure >index 7a2fd1ae70..7abdcaa2c1 100644 >--- a/build/moz.configure/rust.configure >+++ b/build/moz.configure/rust.configure >@@ -404,11 +404,21 @@ def detect_rustc_target( > if len(narrowed) == 1: > return narrowed[0].rust_target > >- # Finally, see if the vendor can be used to disambiguate. >+ # See if the vendor can be used to disambiguate. > narrowed = [c for c in candidates if c.target.vendor == host_or_target.vendor] > if len(narrowed) == 1: > return narrowed[0].rust_target > >+ # Finally, check for vendor gentoo in the target triple. >+ vendor_aliases = {"unknown": ("gentoo")} >+ narrowed = [ >+ c >+ for c in candidates >+ if host_or_target.vendor in vendor_aliases.get(c.target.vendor, ()) >+ ] >+ if len(narrowed) == 1: >+ return narrowed[0].rust_target >+ > return None > > rustc_target = find_candidate(candidates)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 915651
: 872936