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

Allow build-std to take an array of crate names #1488

Merged
merged 1 commit into from
May 9, 2024

Conversation

thirteenowls
Copy link
Contributor

Closes #896.

This is technically a breaking change because arbitrary strings passed to the CROSS_BUILD_STD environment variable (e.g. yes) are now no longer parsed as truthy values, but rather as a single crate name (or multiple, if containing commas) to pass to -Zbuild-std (resulting in e.g. -Zbuild-std=yes, which is invalid).
Behaviour remains the same when CROSS_BUILD_STD is set to true, false, or a number that fits in an i32.

@thirteenowls thirteenowls requested a review from a team as a code owner May 9, 2024 04:28
Copy link
Member

@Emilgardis Emilgardis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thank you!

@Emilgardis Emilgardis added the no-ci-targets PRs that do not affect any cross-compilation targets. label May 9, 2024
@Emilgardis Emilgardis added this pull request to the merge queue May 9, 2024
Merged via the queue into cross-rs:main with commit be13600 May 9, 2024
22 checks passed
@thirteenowls thirteenowls deleted the build-std-array branch May 9, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-ci-targets PRs that do not affect any cross-compilation targets.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update build-std to support a boolean or array.
2 participants