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

Don't hard-code a target family of Unix #255

Merged
merged 5 commits into from
Nov 9, 2022

Conversation

Ericson2314
Copy link
Collaborator

Rust target specs actually support multiple target families, where just
one needs to match, so we do too.

Reverse the order of the comparison so it is more consistent: wanted
before the target's single value or list.

Rust target specs actually support multiple target families, where just
one needs to match, so we do too.

Reverse the order of the comparison so it is more consistent: wanted
before the target's single value or list.
@Ericson2314
Copy link
Collaborator Author

The new logic should be backported into a toTargetFamilies next to the others in the "rust lib". Then this is ready to be merged.

Ericson2314 added a commit to alamgu/alamgu that referenced this pull request Aug 26, 2022
This we we can handle `target_family` deps without cheating.
@Ericson2314 Ericson2314 merged commit 0c02416 into nix-community:master Nov 9, 2022
@Ericson2314 Ericson2314 deleted the target-family branch November 9, 2022 21:59
@Ericson2314
Copy link
Collaborator Author

(The tests passed locally)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant