Rust std::io with all the parts that don't work in core removed.
Go to file
bors[bot] 3c16015737 Merge #26
26: Fix vectored I/O r=jethrogb a=parasyte

This is a large PR because I recreated all patches from #18. Contains the following fixes:

- `ioVec` does not depend on `feature="collections"`
- Fix `impl Read for Take`; only `read_to_end` requires `feature="collections"`
- Fix some whitespace consistency issues

Closes #19

Co-authored-by: Jay Oster <jay@pubnub.com>
2019-06-13 06:32:50 +00:00
patches Recreate patches for `ioVec` 2019-06-07 00:17:36 -07:00
src Address review comments 2019-06-06 19:46:25 -07:00
.gitignore Keep track of individual patches instead of patched source versions 2016-10-31 00:13:22 -07:00
.travis.yml Parse mapping.rs manually, fix CI versions. 2019-04-30 18:27:50 -07:00
Cargo.toml Update version 2019-04-27 15:27:47 -07:00
LICENSE-APACHE Add some documentation and copyright info 2016-07-10 13:45:57 -07:00
LICENSE-MIT Add some documentation and copyright info 2016-07-10 13:45:57 -07:00
README.md Setup Travis CI 2019-04-30 16:43:18 -07:00
build-src.sh Address review comments 2019-04-30 18:55:16 -07:00
build.rs Address review comments 2019-06-06 19:46:25 -07:00
ct.sh Fix features since nightly-2018-08-14 disallowed old features 2019-05-14 18:15:20 -07:00
doc.sh Add collections/alloc features 2016-07-10 13:45:57 -07:00
edit-patches.sh Additional macOS fixes 2019-04-27 12:56:47 -07:00
functions.sh Address review comments 2019-04-30 18:55:16 -07:00
mapping.rs Update to 2019-04-27 2019-04-27 15:26:46 -07:00
publish.sh Add publish script 2016-11-02 22:43:30 -07:00

README.md

core_io

Build Status

std::io with all the parts that don't work in core removed.

Adding new nightly versions

First, make sure the commit you want to add is fetch in the git tree at /your/rust/dir/.git. Then, import the right source files:

$ echo FULL_COMMIT_ID ...|GIT_DIR=/your/rust/dir/.git ./build-src.sh

Instead of echoing in the commit IDs, you might pipe in rustc-commit-db list-valid.

The build-src script will prompt you to create patches for new commits. You will be dropped in a shell prompt with a temporary new, clean, git repository just for this patch. Make any changes necessary to make it build. Don't commit any changes! When exiting the shell and the script will use the working tree diff as the patch. The temporary git repository will be deleted. Before dropping into the shell, the script will show you nearby commits, you can try to apply $PATCH_DIR/that_commit.patch and see if it works for you.

Publishing

$ echo FULL_COMMIT_ID ...|GIT_DIR=/your/rust/dir/.git ./build-src.sh publish

Again, instead of echoing in the commit IDs, you might pipe in rustc-commit-db list-valid.

Editing patches

To edit all patches, again make a checkout of the rust source. Then, run:

$ GIT_DIR=/your/rust/dir/.git ./edit-patches.sh

The script will prompt you to make changes. You will be dropped in a shell prompt with a temporary new, clean, git repository just for this patch edit. The original patch will be the HEAD commit in the repository. Make any changes you want. Don't commit any changes! When exiting the shell and the script will use the diff between the working tree and the root commit as the patch. The temporary git repository will be deleted. When editing further commits, the previous patch changes will already be applied to the working tree (if succesful).