gradle-native icon indicating copy to clipboard operation
gradle-native copied to clipboard

Investigate backporting Swift 5 compiler behavior to Swift 4.2 and earlier

Open lacasseio opened this issue 5 years ago • 1 comments

Swift 5 compiler is a bit more smart in what files it modified on disk. In fact, this integration test doesn't recompile anything as the removed file is unrelated to any of the other source files. When renaming a file, only the renamed file is compiled. We have .d files that describe how the files are related to one and another. There is a chance we could shortcircuit the incremental compilation and avoid certain files to be compiled on Swift 4.2 and earlier.

lacasseio avatar Mar 26 '19 15:03 lacasseio

For some reason, it seems this optimization was broken on Swift 5.1.

lacasseio avatar Nov 14 '19 15:11 lacasseio