Без опису

Jeremy Soller bcb799d1d1 Remove use of old box syntax 1 рік тому
patches eb72048307 Update for 2018-11-07 6 роки тому
src bcb799d1d1 Remove use of old box syntax 1 рік тому
.gitignore 5a15b81b2f Include patched source 6 роки тому
Cargo.toml eb72048307 Update for 2018-11-07 6 роки тому
LICENSE-APACHE 625484e0c3 Add some documentation and copyright info 8 роки тому
LICENSE-MIT 625484e0c3 Add some documentation and copyright info 8 роки тому
README.md 1a62a818c3 Make packaging easier & document 7 роки тому
build-src.sh 1a62a818c3 Make packaging easier & document 7 роки тому
build.rs 8f253772c9 Hack to allow locally built rustc 6 роки тому
doc.sh 3b0668806a Add collections/alloc features 8 роки тому
edit-patches.sh 60e5225eaa Add patch-editing interactive script 8 роки тому
functions.sh 2da6c7634d Update to nightly-2018-03-07 6 роки тому
mapping.rs eb72048307 Update for 2018-11-07 6 роки тому
publish.sh 0ad4c19f7e Add publish script 8 роки тому

README.md

core_io

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).