Skip to content
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

Move std::io::pipe code into its own file #135635

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Jan 17, 2025

Also update the docs for the new location, create a section "Platform-specific behavior", don't hide required imports for code examples.

@rustbot
Copy link
Collaborator

rustbot commented Jan 17, 2025

r? @joboet

rustbot has assigned @joboet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jan 17, 2025
@joboet
Copy link
Member

joboet commented Jan 17, 2025

This is a duplicate of #135583.

As the other one is approved already, I'm closing this one. Feel free to reopen if the other PR does not address everything done here.

@joboet joboet closed this Jan 17, 2025
@rust-log-analyzer

This comment has been minimized.

@tbu-
Copy link
Contributor Author

tbu- commented Jan 17, 2025

@joboet I can't re-open since a maintainer closed it. Could you reopen this PR? I'll base it on top off #135583.

@ChrisDenton ChrisDenton reopened this Jan 17, 2025
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs O-unix Operating system: Unix-like labels Jan 17, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jan 17, 2025

This PR modifies tests/run-make/. If this PR is trying to port a Makefile
run-make test to use rmake.rs, please update the
run-make port tracking issue
so we can track our progress. You can either modify the tracking issue
directly, or you can comment on the tracking issue and link this PR.

cc @jieyouxu

@rust-log-analyzer

This comment has been minimized.

@tbu- tbu- changed the title Move std::pipe::{pipe, PipeReader, PipeWriter} to std::io Move std::io::pipe code into its own file Jan 17, 2025
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@NobodyXu
Copy link
Contributor

#135583 has been merged

cc @tbu- sorry that I didn't see your PR for this, I was planning on also opening a PR for stabilisation, but maybe you can do it within this PR?

@tgross35
Copy link
Contributor

@tbu- could you rebase?

@tbu-
Copy link
Contributor Author

tbu- commented Jan 21, 2025

@tgross35 There appear to be no merge conflicts according to my local git. I included the same commits as #135583, so git should handle it just fine.

@tbu-
Copy link
Contributor Author

tbu- commented Jan 21, 2025

I was planning on also opening a PR for stabilisation, but maybe you can do it within this PR?

I'll open a stabilization PR.

@tgross35
Copy link
Contributor

The merge is conflict-free but GH does not automatically drop commits, so the diff view is incorrect.

@tbu-

This comment was marked as outdated.

@joboet
Copy link
Member

joboet commented Jan 24, 2025

Great, thank you!
@bors r+

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 26, 2025
@tgross35
Copy link
Contributor

@bors r=joboet

@bors
Copy link
Contributor

bors commented Jan 27, 2025

📌 Commit ad28cbb has been approved by joboet

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 27, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 27, 2025
Rollup of 8 pull requests

Successful merges:

 - rust-lang#126604 (Uplift `clippy::double_neg` lint as `double_negations`)
 - rust-lang#135158 (Add `TooGeneric` variant to `LayoutError` and emit `Unknown`)
 - rust-lang#135635 (Move `std::io::pipe` code into its own file)
 - rust-lang#136072 (add two old crash tests)
 - rust-lang#136079 (compiler_fence: fix example)
 - rust-lang#136091 (Add some tracing to core bootstrap logic)
 - rust-lang#136097 (rustc_ast: replace some len-checks + indexing with slice patterns etc.)
 - rust-lang#136101 (triagebot: set myself on vacation)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2949f2a into rust-lang:master Jan 27, 2025
6 checks passed
@rustbot rustbot added this to the 1.86.0 milestone Jan 27, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 27, 2025
Rollup merge of rust-lang#135635 - tbu-:pr_io_pipe, r=joboet

Move `std::io::pipe` code into its own file

Also update the docs for the new location, create a section "Platform-specific behavior", don't hide required imports for code examples.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 29, 2025
Test pipes also when not running on Windows and Linux simultaneously

Fixes rust-lang#135635 (review).

Based on top of rust-lang#135635 to avoid merge conflicts.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jan 29, 2025
Test pipes also when not running on Windows and Linux simultaneously

Fixes rust-lang#135635 (review).

Based on top of rust-lang#135635 to avoid merge conflicts.
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 29, 2025
Rollup merge of rust-lang#136092 - tbu-:pr_io_pipe_test, r=joboet

Test pipes also when not running on Windows and Linux simultaneously

Fixes rust-lang#135635 (review).

Based on top of rust-lang#135635 to avoid merge conflicts.
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Jan 31, 2025
Test pipes also when not running on Windows and Linux simultaneously

Fixes rust-lang/rust#135635 (review).

Based on top of #135635 to avoid merge conflicts.
@fmease
Copy link
Member

fmease commented Feb 2, 2025

@bors r- ('fixing' desync)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 2, 2025
@NobodyXu
Copy link
Contributor

NobodyXu commented Feb 2, 2025

isn;t this PR akready merged?

@fmease
Copy link
Member

fmease commented Feb 2, 2025

Yes but the bors queue is slightly out of sync atm and this merged PR showed up in the "merge queue", I had to kick it out. We have a proper procedure for resyncing the queue but that takes ~45 minutes and I didn't want to do that rn (for several reasons).

github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Feb 20, 2025
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Feb 20, 2025
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Feb 20, 2025
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Feb 20, 2025
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Feb 21, 2025
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Feb 21, 2025
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Feb 22, 2025
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Feb 22, 2025
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Feb 22, 2025
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs O-unix Operating system: Unix-like S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants