Skip to content

Conversation

@cachemeifyoucan
Copy link
Contributor

Add function to handle all macro dependencies kinds in the scanner, including taking care of the macro definitions in the module interface for its client to use. The change involves:

  • Encode the macro definition inside the binary module
  • Resolve macro modules in the dependencies scanners, including those
    declared inside the dependency modules.
  • Propagate the macro defined from the direct dependencies to track
    all the potentially available modules inside a module compilation.

Fix a bug that the index is not incremented in the loop, causing
malformed swift dependencies graph when more than one macro dependency
is found inside one module.
Add function to handle all macro dependencies kinds in the scanner,
including taking care of the macro definitions in the module interface
for its client to use. The change involves:
  * Encode the macro definition inside the binary module
  * Resolve macro modules in the dependencies scanners, including those
    declared inside the dependency modules.
  * Propagate the macro defined from the direct dependencies to track
    all the potentially available modules inside a module compilation.
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan
Copy link
Contributor Author

ping

@cachemeifyoucan cachemeifyoucan merged commit fffe2ce into swiftlang:main Sep 25, 2024
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.

2 participants