about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-06-23 21:01:08 +0200
committerNoratrieb <48135649+Noratrieb@users.noreply.github.com>2025-06-23 21:10:43 +0200
commit3003050d473abd13d56c7e7966b971bd7443194f (patch)
tree5fbade615987f0cd10ec58a101e881683f1d2611 /compiler/rustc_interface/src/interface.rs
parent321dde12528a6baf0990ec611d33122b68c33fca (diff)
downloadrust-3003050d473abd13d56c7e7966b971bd7443194f.tar.gz
rust-3003050d473abd13d56c7e7966b971bd7443194f.zip
Fix hang in --print=file-names in bootstrap
In an interactive context, the subprocess inherited a real tty stdin,
which lead it it waiting for something to happen, even though nothing
happened. By explicitly passing null as stdin we make sure an empty file
is passed, which achieves the desired behavior.
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions