Skip to content

Move std::io tests to alloctests & add prelude - #156527

Merged
rust-bors[bot] merged 9 commits into
rust-lang:mainfrom
bushrat011899:core_io_test_merge
Aug 2, 2026
Merged

Move std::io tests to alloctests & add prelude#156527
rust-bors[bot] merged 9 commits into
rust-lang:mainfrom
bushrat011899:core_io_test_merge

Conversation

@bushrat011899

@bushrat011899 bushrat011899 commented May 13, 2026

Copy link
Copy Markdown
Contributor

View all comments

ACP: rust-lang/libs-team#755
Tracking issue: #154046
Blocked on: #158548

Description

  • Moves tests out of std::io into alloctests now that the relevant items are fully available from alloc::io.
  • Adds documentation to alloc::io
  • Adds prelude modules to core::io and alloc::io.

Notes

  • No AI tooling of any kind was used during the creation of this PR.

@rustbot rustbot added 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-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 13, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Comment thread library/std/src/io/mod.rs Outdated
Comment thread library/std/src/sys/stdio/unix.rs Outdated
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bushrat011899
bushrat011899 force-pushed the core_io_test_merge branch 2 times, most recently from e8e89b9 to 8ca7764 Compare May 19, 2026 10:45
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the O-windows Operating system: Windows label May 19, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rustbot

rustbot commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@bushrat011899

Copy link
Copy Markdown
Contributor Author

@rustbot ready

This PR has been split apart to the point where all it does is move tests, add documentation, and setup core::io::prelude and alloc::io::prelude. I'm happy to split further if desirable, but I think it's fine? @clarfonthey tagging you as well just in case you're interested!

@bushrat011899

Copy link
Copy Markdown
Contributor Author

@rustbot label -T-rustdoc-frontend

Outdated label

@clarfonthey

Copy link
Copy Markdown
Contributor

r? clarfonthey

@clarfonthey

Copy link
Copy Markdown
Contributor

All looks reasonable to me! Just moving stuff around.

@bors r+

@rust-bors

rust-bors Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 5b49a9d has been approved by clarfonthey

It is now in the queue for this repository.

Comment thread library/core/src/io/prelude.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

6 participants