Skip to content

Materialize Swift import inputs for indexing - #3359

Open
karim-alweheshy wants to merge 2 commits into
mainfrom
preview-review-06-swift-imports
Open

karim-alweheshy wants to merge 2 commits into
mainfrom
preview-review-06-swift-imports

Conversation

@karim-alweheshy

@karim-alweheshy karim-alweheshy commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Materialize the local Swift and Clang import inputs needed by Xcode indexing, including modules, module maps, headers, bridging-header inputs, and compiler plugins. Wire the collected inputs into the generated indexing preparation path; this does not expose native Preview configurations.

Validation

The diff adds Starlark tests for Swift explicit inputs and plugin inputs. Tests were not rerun for this description update.

Testing

Run bazel test //test/internal/pbxproj_partials:swift_explicit_inputs //test/internal/pbxproj_partials:swift_plugin_inputs and verify ordinary compiler arguments remain unchanged. No Canvas render is claimed.

Karim Alweheshy added 2 commits September 23, 2026 20:56
Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
Forward import-input metadata through both merged top-level and mixed-language target argument structs as soon as indexing consumes it. The integration example covers the command-line and C dynamic-library analysis paths. These assignments were previously delayed until the explicit-module follow-up.

Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
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