Skip to content
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

Do not cache source stamps in InitialStamps #1319

Merged
merged 1 commit into from Apr 8, 2024

Conversation

Friendseeker
Copy link
Member

@Friendseeker Friendseeker commented Dec 30, 2023

Fixes #683

Issue

InitialStamps assumes source files do not change during compilation, yet #683 states that they do in fact change.

Fix

Remove the source stamp cache in InitialStamps.

Since InitialStamps is backed by a cache-backed TimeWrapBinaryStamps (unless the user explicitly overrides it), this should have minimal impact on performance.

Delegate to getAllSourceStamps
@eed3si9n eed3si9n merged commit af2c920 into sbt:develop Apr 8, 2024
7 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.

Zinc writes inconsistent analysis files
2 participants