Grab memchr.rs from somewhere else

This commit is contained in:
Jethro Beekman 2016-10-11 18:18:55 -07:00
parent afa6315ab8
commit b000f15555

View File

@ -9,7 +9,7 @@ for COMPILER_COMMIT in $(sort -u); do
if ! [ -d src/$IO_COMMIT ]; then if ! [ -d src/$IO_COMMIT ]; then
mkdir src/$IO_COMMIT mkdir src/$IO_COMMIT
git archive $IO_COMMIT src/libstd/io|tar xf - -C src/$IO_COMMIT --strip-components=3 git archive $IO_COMMIT src/libstd/io|tar xf - -C src/$IO_COMMIT --strip-components=3
git archive $IO_COMMIT src/libstd/memchr.rs|tar xf - -C src/$IO_COMMIT --strip-components=2 git archive $IO_COMMIT src/libstd/sys/common/memchr.rs|tar xf - -C src/$IO_COMMIT --strip-components=4
rm -f src/$IO_COMMIT/stdio.rs src/$IO_COMMIT/lazy.rs rm -f src/$IO_COMMIT/stdio.rs src/$IO_COMMIT/lazy.rs
fi fi
if ! grep -q $COMPILER_COMMIT mapping.rs; then if ! grep -q $COMPILER_COMMIT mapping.rs; then