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

rustPlatform.cargoSetupHook: fix platform check #260068

Merged
merged 1 commit into from
Oct 11, 2023

Commits on Oct 9, 2023

  1. rustPlatform.cargoSetupHook: fix platform check

    Cargo will never need to link for the target platform — that'd be for
    the package being built to do at runtime.  Cargo should know about the
    build and host linkers.
    
    This fixes e.g. pkgsCross.musl64.fd from x86_64-linux.
    
    Fixes: 67a4f82 ("rust: hooks: fix cross compilation")
    alyssais committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    7e4f0da View commit details
    Browse the repository at this point in the history