diff options
-rw-r--r-- | docs/users_guide/8.10.1-notes.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/users_guide/8.10.1-notes.rst b/docs/users_guide/8.10.1-notes.rst index 472b4011cb..8f1a475827 100644 --- a/docs/users_guide/8.10.1-notes.rst +++ b/docs/users_guide/8.10.1-notes.rst @@ -315,6 +315,21 @@ Template Haskell Build system ~~~~~~~~~~~~ +- GHC now writes ``.o`` files atomically, resulting in reduced chances + of truncated files when a build is cancelled or the computer crashes. + + This fixes numerous bug reports in Stack and Cabal where GHC was not + able to recover from such situations by itself and users reported having + to clean the build directory. + + Other file types are not yet written atomically. + Users that observe related problems should report them on + `GHC issue #14533 <https://gitlab.haskell.org/ghc/ghc/issues/14533>`__. + This fix is part of the + `Stack initiative to get rid of persistent build errors due to non-atomic + file writes across the Haskell tooling ecosystem + <https://github.com/commercialhaskell/stack/issues/4559>`__. + Included libraries ------------------ |