thebrowsercompany / swift-build

Swift toolchain builds by The Browser Company
350 stars 11 forks source link

Precompiled module loading often fails in incremental builds #121

Open tristanlabelle opened 5 months ago

tristanlabelle commented 5 months ago

When doing incremental builds, particularly with projects that use C or C++ dependencies built with SPM, I will notice a large number of failures to load the PCM which severely impacts the debugging experience. We should identify the root cause of the PCM mismatch (potentially a path canonicalization issue?) and remediate it.

(filed on behalf of @compnerd )