rust-lang/rust — pull request #16342 by alexcrichton (2014-08-08 03:20:15+00:00)
Title: 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