about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-14 16:14:48 +0800
committerkennytm <kennytm@gmail.com>2018-02-14 18:25:28 +0800
commitaccadb2ce5eaebfa8524d735e16d8d782df994c1 (patch)
treef9ff3419366e768b1cb6a9c33c99ed4e6bb11c2c /src/rustllvm/RustWrapper.cpp
parentdc9d93f220c2adb3d89936fb2d82e1bebad0ddc7 (diff)
parent580dd42cfaefcb3189eab786224403ffe45bd37f (diff)
downloadrust-accadb2ce5eaebfa8524d735e16d8d782df994c1.tar.gz
rust-accadb2ce5eaebfa8524d735e16d8d782df994c1.zip
Rollup merge of #48181 - michaelwoerister:fix-incr-dir-finalization, r=nikomatsakis
incr.comp.: Run cache directory garbage collection before loading dep-graph.

Prior to this PR, the incr. comp. cache directory would only be garbage collected after the final output artifacts were generated. However, compilation often aborts earlier and in the case of the RLS, which starts lots of compilation sessions, we might fill up the cache directory with chunk sessions.

This PR makes the compiler do a garbage collection run before loading the dep-graph.

cc @nrc https://github.com/rust-lang/rust/issues/48172

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions