--print=native-static-libs
is not emitted to stdout
, but instead to stderr
#125304
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Running the following:
I.e. it does produce the expected
native-static-libs: ...
note, but the note is emitted to the stderr stream, instead of stdout, as is done by the other--print=...
flags.I expected to be able to pipe the output to e.g.
grep
to extract the note, but no such luck:$ rustc empty.rs --crate-type=staticlib --print=native-static-libs | grep native-static-libs
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: