Skip to content

[Option] Make -const-gather-protocols-list a frontend argument#88572

Open
cachemeifyoucan wants to merge 1 commit intoswiftlang:mainfrom
cachemeifyoucan:eng/PR-175194244
Open

[Option] Make -const-gather-protocols-list a frontend argument#88572
cachemeifyoucan wants to merge 1 commit intoswiftlang:mainfrom
cachemeifyoucan:eng/PR-175194244

Conversation

@cachemeifyoucan
Copy link
Copy Markdown
Contributor

Make -const-gather-protocols-list behaves just like -const-gather-protocols-file as a frontend flag. This is cause swift-driver needs to query the frontend flag to see if the compiler supports the feature. It was a driver flag only, which causes the swift-driver failed to prefix mapping the file, results in build failures.

rdar://175194244

  • Explanation: Fix prefix mapping caching build that prefix maps the const-gather-protocol-list file.
  • Scope: Only affects prefix mapping caching build. No impact on other configurations.
  • Issues: rdar://175194244
  • Risk: Very low. Just tweak the flag kind.
  • Testing: N/A

Make `-const-gather-protocols-list` behaves just like
`-const-gather-protocols-file` as a frontend flag. This is cause
swift-driver needs to query the frontend flag to see if the compiler
supports the feature. It was a driver flag only, which causes the
swift-driver failed to prefix mapping the file, results in build
failures.

rdar://175194244
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner April 20, 2026 21:33
@cachemeifyoucan
Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan
Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test windows platform

1 similar comment
@cachemeifyoucan
Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test windows platform

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