-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Make stdin pipes synchronous #96441
Conversation
Stdin pipes do not need to be used asynchronously within the standard library.
This comment was marked as off-topic.
This comment was marked as off-topic.
Very nice! r=me |
5170b98
to
fa3bffb
Compare
Comments updated with a fuller explanation and issue link. @bors r=m-ou-se |
📌 Commit 1e7c156 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ddb7fbe): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Fix use of SetHandleInformation on UWP The use of `SetHandleInformation` (introduced in rust-lang#96441 to make `HANDLE` inheritable) breaks UWP builds because it is not available for UWP targets. Proposed workaround: duplicate the `HANDLE` with `inherit = true` and immediately close the old one. Traditional Windows Desktop programs are not affected. cc `@ChrisDenton`
…u-se Revert "Auto merge of rust-lang#96441 - ChrisDenton:sync-pipes, r=m-ou-se" This reverts commit ddb7fbe. Partially addresses rust-lang#97124, but not marking as fixed as we're still pending on a beta backport (for 1.62, which is happening in rust-lang#97088). r? `@m-ou-se` `@ChrisDenton`
…u-se Revert "Auto merge of rust-lang#96441 - ChrisDenton:sync-pipes, r=m-ou-se" This reverts commit ddb7fbe. Partially addresses rust-lang#97124, but not marking as fixed as we're still pending on a beta backport (for 1.62, which is happening in rust-lang#97088). r? ``@m-ou-se`` ``@ChrisDenton``
Rollup of 6 pull requests Successful merges: - rust-lang#96866 (Switch CI bucket uploads to intelligent tiering) - rust-lang#97062 (Couple of refactorings to cg_ssa::base::codegen_crate) - rust-lang#97127 (Revert "Auto merge of rust-lang#96441 - ChrisDenton:sync-pipes, r=m-ou-se") - rust-lang#97131 (Improve println! documentation) - rust-lang#97139 (Move some settings DOM generation out of JS) - rust-lang#97152 (Update cargo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Stdin pipes do not need to be used asynchronously within the standard library. This is a first step in making pipes mostly synchronous.
r? @m-ou-se