about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-06-22 06:30:10 -0600
committerGitHub <noreply@github.com>2017-06-22 06:30:10 -0600
commita859f2bd4b5c3e0a893a888ddc4f30fe7c302cdb (patch)
tree837abb03a3a301c8dd374618b802f7f5803b7187 /src/liballoc_system
parenta56fef8d2c3cebee2aa487aab32fe29105775c36 (diff)
parent305f5263f933d5d730f2bba5f0d43d9f9006361d (diff)
downloadrust-a859f2bd4b5c3e0a893a888ddc4f30fe7c302cdb.tar.gz
rust-a859f2bd4b5c3e0a893a888ddc4f30fe7c302cdb.zip
Rollup merge of #42804 - Mark-Simulacrum:rustbuild-colors, r=alexcrichton
Make rustc errors colorful.

Rustbuild passes --message-format=json to Cargo to learn about the
dependencies for a given build, which then makes Cargo steal the
stderr/stdout for the compiler process, leading to non colorful output.
To avoid this, detection of stderr being a tty is added to rustbuild,
and an environment variable is used to communicate with the rustc shim.

Fixes https://github.com/rust-lang/rust/issues/42801.

r? @alexcrichton
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions