diff options
author | Ștefan Talpalaru <stefantalpalaru@yahoo.com> | 2019-12-30 02:13:41 +0100 |
---|---|---|
committer | Clyybber <darkmine956@gmail.com> | 2019-12-30 02:13:41 +0100 |
commit | defaf3b5a55381f15da8e8e5c976cc18d9ce18ac (patch) | |
tree | f13768f9f92644a25e025cbfdc827282bf54445d /compiler/lowerings.nim | |
parent | 8d1a7db6ea7cd4e8d9e2b38874477c12b99ffcd7 (diff) | |
download | Nim-defaf3b5a55381f15da8e8e5c976cc18d9ce18ac.tar.gz |
c_fflush() the rawWrite() buffer (#12987)
Stack traces on an unbuffered stderr get out of sync with line-buffered stdout - usually on Windows terminals or CI logs. This fixes it by calling C's fflush() on the output buffer in the procedure used for printing stack traces.
Diffstat (limited to 'compiler/lowerings.nim')
0 files changed, 0 insertions, 0 deletions