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

Use flag to selectively enable treat_warnings_as_errors. #708

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

phst
Copy link
Owner

@phst phst commented Jan 10, 2025

We want to enable treat_warnings_as_errors only if we're building the main repository (to isolate users from warnings), and only for the targets in our repository. Specifying a private flag in .bazelrc seems to be the simplest way to achieve this.

This partially reverts commit 0ae8e08.

We want to enable treat_warnings_as_errors only if we're building
the main repository (to isolate users from warnings), and only
for the targets in our repository.  Specifying a private flag
in .bazelrc seems to be the simplest way to achieve this.

This partially reverts commit 0ae8e08.
@phst phst merged commit f85b79b into master Jan 10, 2025
16 checks passed
@phst phst deleted the flag branch January 10, 2025 23:09
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