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 propagate compatible_with to the underlying cargo_build_script rust_binary target #1754

Merged
merged 3 commits into from
Jan 5, 2023

Conversation

scentini
Copy link
Collaborator

@scentini scentini commented Jan 5, 2023

I mostly fixed the interaction between compatible_with and cargo_build_script in #1745, however I forgot to remove the compatible_with attribute from the underlying rust_binary target. This target shouldn't have the compatible_with specification as we only depend on it in exec mode.

@scentini scentini marked this pull request as ready for review January 5, 2023 13:32
@UebelAndre
Copy link
Collaborator

For the description, do you mean rust_binary?

@scentini scentini changed the title Don't propagate compatible_with to the underlying cargo_build_script cc_binary target Don't propagate compatible_with to the underlying cargo_build_script rust_binary target Jan 5, 2023
@scentini
Copy link
Collaborator Author

scentini commented Jan 5, 2023

@UebelAndre Indeed, thanks!

@scentini scentini merged commit 941c7cc into bazelbuild:main Jan 5, 2023
@scentini scentini deleted the compatible_with2 branch January 5, 2023 14:13
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.

None yet

3 participants