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

Add argument include_coverage to toggle if InstrumentedFilesInfo is created #2457

Conversation

kiwiwarmnfuzzy
Copy link
Contributor

If rustc_compile_action is invoked within an aspect of a rule, without this change, an InstrumentedFilesInfo would be created, which conflicts with the InstrumentedFilesInfo with the underlying target, causing a bazel action conflict. Thus, we add an option (default to True) so that aspect can specify this option when invoking rustc_compile_action, to avoid creating InstrumentedFilesInfo.

@krasimirgg krasimirgg self-requested a review February 7, 2024 16:00
Copy link
Collaborator

@krasimirgg krasimirgg left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@krasimirgg krasimirgg merged commit 8cd501f into bazelbuild:main Feb 7, 2024
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.

None yet

2 participants