Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:leap
LibreWolf
_service:extract_file:rust-gentoo-musl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:rust-gentoo-musl.patch of Package LibreWolf
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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor