diff options
| author | Noratrieb <48135649+Noratrieb@users.noreply.github.com> | 2025-06-23 21:01:08 +0200 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-07-10 13:30:37 -0700 |
| commit | cd3bc5f08239a30169e6b5e2e89f4dc88aa26db2 (patch) | |
| tree | 7663a9b870b68cfdf65bafb748ef79e6275de57a /compiler/rustc_lint/src/lints.rs | |
| parent | 8eb45546d5aaec83073258064843faf722b6f8ab (diff) | |
| download | rust-cd3bc5f08239a30169e6b5e2e89f4dc88aa26db2.tar.gz rust-cd3bc5f08239a30169e6b5e2e89f4dc88aa26db2.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. (cherry picked from commit 3003050d473abd13d56c7e7966b971bd7443194f)
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
0 files changed, 0 insertions, 0 deletions
