]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55495 - wesleywiser:opt_fuel_rustbuild, r=nikomatsakis
authorkennytm <kennytm@gmail.com>
Wed, 7 Nov 2018 10:01:50 +0000 (18:01 +0800)
committerGitHub <noreply@github.com>
Wed, 7 Nov 2018 10:01:50 +0000 (18:01 +0800)
Don't print opt fuel messages to stdout because it breaks Rustbuild

Rustbuild passes `--message-format json` to the compiler invocations
which causes JSON to be emitted on stdout. Printing optimization fuel
messages to stdout breaks the json and causes Rustbuild to fail.

Work around this by emitting optimization fuel related messages on
stderr instead.

1  2 
src/librustc_driver/lib.rs

Simple merge