-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Move std::io into alloc and core
#156527
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
Open
bushrat011899
wants to merge
43
commits into
rust-lang:main
Choose a base branch
from
bushrat011899:core_io_test_merge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Move std::io into alloc and core
#156527
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
945823e
Adjust `std::io::Error` tests to only assess public API
bushrat011899 60bac02
Adjust `Error` documentation
bushrat011899 c651716
Change `repr` module definition to use `path` attribute
bushrat011899 1f0ccc7
Setup `alloc::io`
bushrat011899 53eba48
Make common `Error` constants public and hidden
bushrat011899 0092197
Allow use of incoherence
bushrat011899 9e42475
Make `Error::is_interrupted` public and hidden
bushrat011899 b1b790f
Remove usage of `Box` from `Error` internals
bushrat011899 b658c07
Delegate `RawOsError` functionality to `OsFunctions`
bushrat011899 6960ba3
Move `std::io::Error` and friends into `core` and `alloc`
bushrat011899 d593f3b
Reduce usage of unstable public items
bushrat011899 196072b
Simplify `core::io` documentation links
bushrat011899 cb843c4
Move `std::io::IoHandle` to `core::io`
bushrat011899 c7c595e
Move `std::io::SizeHint` to `core::io`
bushrat011899 8539914
Move `std::io::SeekFrom` to `core::io`
bushrat011899 3912cb1
Move `std::io::Seek` to `core::io`
bushrat011899 12dbdd5
Fix documentation links to `Seek`
bushrat011899 737b94f
Add `std::io::cursor::WriteThroughCursor`
bushrat011899 ccf3201
Move `std::io::default_write_vectored` to `core::io`
bushrat011899 b11844b
Move `std::io::cursor::slice_write` to `core::io`
bushrat011899 eb72e2a
Move `std::io::cursor::slice_write_vectored` to `core::io`
bushrat011899 0d118fb
Move `std::io::cursor::slice_write_all` to `core::io`
bushrat011899 861e21c
Move `std::io::cursor::slice_write_all_vectored` to `core::io`
bushrat011899 4f544a3
Move `std::io::Write` to `core::io`
bushrat011899 eb62ff9
Fix documentation links to `Write`
bushrat011899 b6e7141
Move `std::io::Read` internals to `alloc::io`
bushrat011899 e2b3594
Move `std::io::append_to_string` to `alloc::io`
bushrat011899 a221f45
Move `std::io::Read` to `alloc::io`
bushrat011899 aeee071
Move `std::io::read_to_string` to `alloc::io`
bushrat011899 3473829
Move `std::io::BufRead` to `alloc::io`
bushrat011899 12d0c90
Fix documentation links to `BufRead`
bushrat011899 304c07e
Move `std::io::buffered` to `alloc::io`
bushrat011899 8ce22e7
Move `std::io::copy` internals to `alloc::io`
bushrat011899 aaace09
Setup `core::io::prelude`
bushrat011899 f514aa4
Setup `alloc::io::prelude`
bushrat011899 93b8200
Reduce visibility of unstable internal items
bushrat011899 bc86e9f
Move general IO tests to `alloctests`
bushrat011899 59ccc3b
Move `std::io::util` tests to `alloctests`
bushrat011899 3a222b1
Move `std::io::cursor` tests to `alloctests`
bushrat011899 9294307
Move `std::io::buffered` tests to `alloctests`
bushrat011899 331e90b
Move `std::io::impls` benchmarks to `alloctests`
bushrat011899 df079fb
Reduce API surface of `Buffer`
bushrat011899 e5621e9
Note where and why documentation hard-links are used
bushrat011899 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.