diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-04 20:41:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-04 20:41:33 +0200 |
| commit | 4cbc0035776d2d56a58f3d077cfd8d292593c5ed (patch) | |
| tree | 728ce222b0728e2060a37893602fa8588ec06e3a /compiler/rustc_codegen_gcc | |
| parent | 4d7d9d422b90c81b9e1ca347a1c139622d950f11 (diff) | |
| parent | cbbcd875e1074c244aed118d2582030ad1fa52a6 (diff) | |
| download | rust-4cbc0035776d2d56a58f3d077cfd8d292593c5ed.tar.gz rust-4cbc0035776d2d56a58f3d077cfd8d292593c5ed.zip | |
Rollup merge of #95467 - ChrisDenton:async-read-pipe, r=joshtriplett
Windows: Synchronize asynchronous pipe reads and writes On Windows, the pipes used for spawned processes are opened for asynchronous access but `read` and `write` are done using the standard methods that assume synchronous access. This means that the buffer (and variables on the stack) may be read/written to after the function returns. This PR ensures reads/writes complete before returning. Note that this only applies to pipes we create and does not affect the standard file read/write methods. Fixes #95411
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
