about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-07 19:38:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-08-07 20:19:18 -0700
commitd9038fc3b3222c678bdf2d06b896322976eaacf5 (patch)
tree84abc2ce29f0ab8cb6c55648e78c33972b678b19 /src/rustllvm/PassWrapper.cpp
parent8888d7c8e93288cf2e07198930cc9f2ae2dc6022 (diff)
downloadrust-d9038fc3b3222c678bdf2d06b896322976eaacf5.tar.gz
rust-d9038fc3b3222c678bdf2d06b896322976eaacf5.zip
rustdoc: Set a nonzero exit status on failure
Now that rustdoc is spawning a child task, the program won't exit with a default
error code if the main task fails (because it never fails). This commit forces
the main task to wait for a child task in order to correctly propagate failure.

Closes #16341
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions