diff --git a/sync.sh b/sync.sh index 267c7a9..8235b5c 100755 --- a/sync.sh +++ b/sync.sh @@ -9,7 +9,7 @@ for COMPILER_COMMIT in $(sort -u); do if ! [ -d src/$IO_COMMIT ]; then 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/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 fi if ! grep -q $COMPILER_COMMIT mapping.rs; then