Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When building for linux, replace all vendors with 'unknown' #922

Merged
merged 1 commit into from Nov 17, 2022

Commits on Nov 4, 2022

  1. When building for linux, replace all vendors with 'unknown'

    Some build systems such as the Yocto project define custom
    rust targets, of the form 'arch-somevendor-linux-gnu/musl'
    (only the 'somevendor' part is custom, the rest matches rust's
    definitions).
    
    This causes mismatches with crossbeam's lists of targets
    which are built from the standard rust target list, and
    always have 'unknown' as the vendor.
    
    This change simply replaces such custom vendors with 'unknown' when
    the third component of the target is 'linux'.
    Alexander Kanavin committed Nov 4, 2022
    Copy the full SHA
    e78e511 View commit details
    Browse the repository at this point in the history