Skip to content

[6.0] Invalidate manifest cache when -Xbuild-tools-swiftc changes #7762

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

Conversation

kateinoigakukun
Copy link
Member

Cherry-pick of #7760

Explanation: The manifest cache key should take into account flags passed to -Xbuild-tools-swiftc, but it didn't. so SwiftPM did not re-evaluate manifests even after changing -Xbuild-tools-swiftc. Fix the incorrect cache by hashing those extra flags into manifest cache key.

Scope: Affects only when -Xbuild-tools-swiftc is used.
Risk: low due to isolated less used option
Testing: Added a new test case to cover the senario
Issue: N/A
Reviewer: @xedin

@kateinoigakukun kateinoigakukun requested a review from a team as a code owner July 6, 2024 02:29
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit 228e25b into swiftlang:release/6.0 Jul 8, 2024
5 checks passed
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