Compilation: don't write cache manifest on failure

When errors occurred during flush(), incremental cache mode was still
writing a successful cache manifest, making subsequent compilations fail
because they would get a cache hit only to find invalid data.
4000685557Andrew Kelley committed on 10/10/2024, 9:21:52 PMparent01aab9f
1 file changedLine totals unavailable