You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some options for the command rustc --print cause a panic when the output of the command is piped into a process not listening for input on STDIN.
Steps to Reproduce
The following commands will crash:
rustc --print cfg | echo "test"
rustc --print target-list | echo "test"
rustc --print relocation-models | echo "test"
rustc --print code-models | echo "test"
Meta
I've seen this in the following versions:
rustc 1.22.0-nightly (dead08cb3 2017-09-08) running on x86_64-apple-darwin
rustc 1.20.0 (f3d6973f4 2017-08-27) running on x86_64-apple-darwin
The text was updated successfully, but these errors were encountered:
mcdenhoed
changed the title
rustc --print crashes for sometimes when piped into a process not listening on STDIN
rustc --print crashes for some options when piped into a process not listening on STDIN
Sep 11, 2017
Some options for the command
rustc --print
cause a panic when the output of the command is piped into a process not listening for input on STDIN.Steps to Reproduce
The following commands will crash:
rustc --print cfg | echo "test"
rustc --print target-list | echo "test"
rustc --print relocation-models | echo "test"
rustc --print code-models | echo "test"
Meta
I've seen this in the following versions:
rustc 1.22.0-nightly (dead08cb3 2017-09-08) running on x86_64-apple-darwin
rustc 1.20.0 (f3d6973f4 2017-08-27) running on x86_64-apple-darwin
The text was updated successfully, but these errors were encountered: