about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-12-04 19:35:16 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-12-08 05:37:04 +0100
commitf90c21a417b8279196ec65077863f9ecc5b05e39 (patch)
tree9e08c797d43c388bd7cee7fad8f180779c6a69e4 /src/libsyntax/errors
parent77ed39cfe37a17737e0b2256b1a1689e01c32b26 (diff)
downloadrust-f90c21a417b8279196ec65077863f9ecc5b05e39.tar.gz
rust-f90c21a417b8279196ec65077863f9ecc5b05e39.zip
When given `rustc -C codegen-units=4 -o output --emit=obj`, reset units back to 1.
Fix #30063

Note: while this code is careful to handle the case of mutliple emit
types (e.g. `--emit=asm,obj`) by reporting all the emit types that
conflict with codegen units in its warnings, an invocation with
multiple emit types *and* `-o PATH` will continue to ignore the
requested target path (with a warning), as it already does today,
since the code that checks for that is further downstream.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions