Skip to content

Conversation

@LeFrosch
Copy link
Collaborator

Follow up for: #7834

The PR adds a cache for generated headers and _virtual_include directories of a target to avoid placing header search paths into the execution root.

Header search paths in the execution root can cause unnecessary files to be loaded into the VFS, since indexing code might recursively iterate over all files in these directories.

This approach is different from #7834 since it uses the compilation_context.headers field on the CcInfo provider to populate the cache. This should be more reliable then collecting all headers manually.

@LeFrosch LeFrosch mentioned this pull request Oct 17, 2025
@LeFrosch LeFrosch marked this pull request as ready for review October 21, 2025 14:21
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review Awaiting review from Bazel team on PRs product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

4 participants