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

Bazel: Support header_modules, layering_check and parse_headers #277

Merged
merged 1 commit into from Oct 11, 2023

Conversation

derekmauro
Copy link
Member

The layering_check feature ensures that rules that include a header explicitly depend on a rule that exports that header. Compiler support is required, and currently only Clang 16+ supports diagnoses layering_check failures.

The parse_headers feature ensures headers are self-contained by compiling them with -fsyntax-only on supported compilers.

The header_modules feature is Bazel support for modules and is already enabled when CCTZ is included in Abseil. This just reduces the BUILD diff.

Tested with Clang 17

The layering_check feature ensures that rules that include a header
explicitly depend on a rule that exports that header. Compiler support
is required, and currently only Clang 16+ supports diagnoses
layering_check failures.

The parse_headers feature ensures headers are self-contained by
compiling them with -fsyntax-only on supported compilers.

The header_modules feature is Bazel support for modules and is already
enabled when CCTZ is included in Abseil. This just reduces the BUILD diff.
@devbww devbww merged commit 65036e9 into google:master Oct 11, 2023
5 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