From: bors Date: Thu, 6 Oct 2016 21:03:22 +0000 (-0700) Subject: Auto merge of #3000 - matklad:error-format, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~49 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=08738934e068583097253ff520ddef9fbf945c13;p=cargo.git Auto merge of #3000 - matklad:error-format, r=alexcrichton Add --message-format flag. Closes #2982 This adds a `--message-format` flag with values `human` or `json-v1` to commands that may trigger compilation. After the discussion in the issue I am no longer sure that this is a way to go: * Looks like it buys nothing compared to `RUST_FLAGS` approach: a flag is more useful on the command line, but from the tool point of view there should be no significant differences between a flag and an environmental variable. * Looks like we really want to wrap compiler's messages into our own json to tie them to particular compilation. --- 08738934e068583097253ff520ddef9fbf945c13