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

Swift incremental compilation does not work with large modules #1291

Open
adincebic opened this issue Jul 13, 2024 · 1 comment
Open

Swift incremental compilation does not work with large modules #1291

adincebic opened this issue Jul 13, 2024 · 1 comment

Comments

@adincebic
Copy link
Contributor

After spending quite some time on this, I determined that Swift incremental compilation via Bazel and rules_swift does not work. I am aware that there has been some progress made on this in the past and I believe that incremental compilation does work for smaller modules but not for ones that contain a couple of thousands source files.

I created a small reproducer project and provided more details on what I tried in the README file.
Find the repro here: https://github.com/adincebic/bazel-ios-swiftui-template/tree/ac/swift-incremental-compilation-not-working

@adincebic
Copy link
Contributor Author

I don't actually think that it works for any kind of module but I didn't find a good way to verify that assumption.

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

No branches or pull requests

1 participant