diff options
author | Niklas Hambüchen <mail@nh2.me> | 2020-02-16 05:42:41 +0100 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2020-02-20 10:36:22 -0500 |
commit | d53e81c02c64e72ccb55bf73f0881c5c80fa50ef (patch) | |
tree | 4599e3fad83d11fc5119d3d0b518667837a60f64 /docs | |
parent | 1500f0898e85316c7c97a2f759d83278a072ab0e (diff) | |
download | haskell-d53e81c02c64e72ccb55bf73f0881c5c80fa50ef.tar.gz |
8.10 Release notes for atomic .o writes [skip ci]
Diffstat (limited to 'docs')
-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 ------------------ |