]> git.proxmox.com Git - cargo.git/commit
Auto merge of #8236 - ehuss:no-panic-output, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 14 May 2020 14:03:31 +0000 (14:03 +0000)
committerbors <bors@rust-lang.org>
Thu, 14 May 2020 14:03:31 +0000 (14:03 +0000)
commitcb7cff15c8b0a78fccdc5d797485490dc3bd6c85
treeec2277ee675dd5c2d75bd7d09f058b565846f874
parent55869de80ab8b7bd20cbb9a909e303fc03cf0125
parent5a096da9d7035c8d35c4050742835317933662b6
Auto merge of #8236 - ehuss:no-panic-output, r=alexcrichton

Ignore broken console output in some situations.

If stdout or stderr is closed while Cargo is running, Cargo would panic in some situations (usually with EPIPE). For example, `cargo install --list | grep -q cargo-fuzz`, where `grep` will close stdout once it gets a match. This changes it so that Cargo will ignore output errors in most situations. Failure to output a regular build message still results in an error, which follows the behavior of some tools like `make`.

All output, including stdout, now goes through `Shell`.

Closes #5234