about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:16 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:16 -0400
commit9991be3ee472905975b28f1939e535fbe83100d4 (patch)
tree72f05a3b65fff4d242eb44d3e11638f25d74cbe5 /src/rustllvm/RustWrapper.cpp
parent93285f8adb23620575a495c34ba4a467b3e7bd55 (diff)
parente3f13129b42354ca9cc408df084796f0404c30a9 (diff)
downloadrust-9991be3ee472905975b28f1939e535fbe83100d4.tar.gz
rust-9991be3ee472905975b28f1939e535fbe83100d4.zip
Rollup merge of #33313 - birkenfeld:depgraph-panic, r=nikomatsakis
dep_graph: avoid panicking in thread when channel closed

On my system, when the processor is already loaded, and I try to
run the test suite, e.g. compile-fail/dep-graph-assoc-type-trans.rs
fails because of undecodable JSON.

Running the compiler manually, I can see that the dep graph thread
panics (and puts non-JSON on stderr) while `send`ing on `swap_out`,
presumably because the other end has already quit.  I think that in
this case, we can just gracefully exit the thread.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions