about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-05 16:51:20 +0800
committerGitHub <noreply@github.com>2018-04-05 16:51:20 +0800
commit19c69082f5b0e5b44fe660b6bdd73ea8ac60b6b0 (patch)
tree60c656c9b362e0d82b711507c2c551abf77dfefa /src/liballoc_system
parenta70f84401286b58c5767ada0dfd63729640af0e9 (diff)
parente1d3c471d75bbc4360eee17178ccb32dce348542 (diff)
downloadrust-19c69082f5b0e5b44fe660b6bdd73ea8ac60b6b0.tar.gz
rust-19c69082f5b0e5b44fe660b6bdd73ea8ac60b6b0.zip
Rollup merge of #49432 - nabijaczleweli:master, r=michaelwoerister
Flush executables to disk after linkage

A problem caused by not doing so in Chrome has been reported [here](https://randomascii.wordpress.com/2018/02/25/compiler-bug-linker-bug-windows-kernel-bug/amp/).

`File::sync_all()` calls `FlushFileBuffers()` down the line, causing potentially unflushed buffers on high I/O-load systems to flush and preventing nasty non-reproducible bugs.

Closes #48545
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions