rust/tests/run-make/emit-to-stdout/emit-llvm-bc.stderr
Jing Peng 9b1a1e1d95 Write to stdout if - is given as output file
If `-o -` or `--emit KIND=-` is provided, output will be written
to stdout instead. Binary output (`obj`, `llvm-bc`, `link` and
`metadata`) being written this way will result in an error unless
stdout is not a tty. Multiple output types going to stdout will
trigger an error too, as they will all be mixded together.
2023-06-06 17:53:29 -04:00

5 lines
148 B
Plaintext

error: option `-o` or `--emit` is used to write binary output type `llvm-bc` to stdout, but stdout is a tty
error: aborting due to previous error