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

feat(aspect): support toolchain feature external_include_paths #319

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

martis42
Copy link
Owner

@martis42 martis42 commented Dec 17, 2024

When this feature is active, some include paths in CompilationContext are automatically moved to external_includes. This allows Bazel to pass them to the compiler via -isystem to silence compiler warnings for external headers.

DWYU is however only compatible to external_include_paths starting from Bazel 7.0.0.

Resolves: #299

When this feature is active, some include paths in `CompilationContext` are
automatically moved to `external_includes`. This allows Bazel to pass them
to the compiler via `-isystem` to silence compiler warnings for
external headers.

Resolves: #299
@martis42 martis42 merged commit 059f395 into main Dec 17, 2024
11 checks passed
@martis42 martis42 deleted the support_toolchain_feature_external_include_paths branch December 17, 2024 15:45
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.

compilation_context.external_includes not handled
1 participant