Skip to content

Fix documentation for experimental_per_crate_rustc_flag. #3380

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

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

martinboehme
Copy link
Collaborator

@martinboehme martinboehme commented Apr 1, 2025

This setting was introduced in this commit, and from the context there (docs, tests), it seems clear that the intent is that the flag should apply to non-exec configurations.

When this commit later introduced the documentation being changed here, it seems that it inadvertently misunderstood the flag as applying only to exec configurations, rather than not to exec configurations.

This setting was introduced in [this
commit](bazelbuild@6571cde),
and from the context there
([docs](bazelbuild@6571cde#diff-2a806da393e47c07ffe67c78ace69eb488b4ac44b029a46d8237b8e2a05637be),
[tests](bazelbuild@6571cde#diff-7cfe86db91ef77d2663a7f891492547fcae21fc081ae947532f031585eb86f1d)),
it seems clear that the intent is that the flag should apply to
non-exec configurations.

When [this
commit](bazelbuild@eb1fe7d#diff-d516c822cec75e56bb5c193fbd7c7dfd28d8f982224175324da28b61bf6a1fe3)
later introduced the documentation being changed here, it seems that it
inadvertently misunderstood the flag as applying _only_ to exec
configurations, rather than _not_ to exec configurations.
@martinboehme martinboehme requested a review from UebelAndre April 1, 2025 10:55
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Wow, what an unfortunate mistake. Thanks for fixing!

@UebelAndre UebelAndre added this pull request to the merge queue Apr 1, 2025
Merged via the queue into bazelbuild:main with commit 585594e Apr 1, 2025
3 checks passed
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.

2 participants