Skip to content

Conversation

@benb
Copy link
Contributor

@benb benb commented Nov 27, 2025

I missed this in my earlier work on using hashes for Swift Incremental compilation.
(#1923)

Without this, we can have compiles that skip all recompilation save the emission of an identical Swiftmodule.

@artemcm
Copy link
Contributor

artemcm commented Dec 1, 2025

Could you lease add a test which would fail prior to this change?

@benb
Copy link
Contributor Author

benb commented Dec 2, 2025

Added a test that emit-module is now skipped, and a sanity test that it is still run when file contents change, even with this feature enabled.

@benb benb force-pushed the swiftmodule-hash branch from 1617fd2 to 528a579 Compare December 4, 2025 17:08
benb added 2 commits December 4, 2025 17:12
I missed this in my earlier work on using hashes for Swift Incremental compilation.  (swiftlang#1923)

Without this, we can have compiles that skip all recompilation save the emission of an identical Swiftmodule.
@benb benb force-pushed the swiftmodule-hash branch from 528a579 to 181dc56 Compare December 4, 2025 17:13
@benb
Copy link
Contributor Author

benb commented Dec 4, 2025

Rebased my commits, @artemcm can you please initiate the required tests when you have time?

@owenv
Copy link
Contributor

owenv commented Dec 4, 2025

@swift-ci test

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.

3 participants