From 714bc32f1712c31a840aba4ceed30d37dc1e8eea Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott <ian@iandouglasscott.com> Date: Wed, 10 May 2017 21:20:13 -0700 Subject: [PATCH] Do not copy .cargo and libc-artifacts Cargo searches parent directories for .cargo, so this is unnecessary. --- cook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cook.sh b/cook.sh index ddc4fbaae..0c45d336c 100755 --- a/cook.sh +++ b/cook.sh @@ -135,7 +135,7 @@ function op { fi if [ "$skip" -eq "0" ] then - cp -r "$ROOT/Xargo.toml" "$ROOT/.cargo" "$ROOT/libc-artifacts" . + cp -r "$ROOT/Xargo.toml" . xargo build --target "$TARGET" --release $CARGOFLAGS fi popd > /dev/null @@ -149,7 +149,7 @@ function op { fi if [ "$skip" -eq "0" ] then - cp -r "$ROOT/Xargo.toml" "$ROOT/.cargo" "$ROOT/libc-artifacts" . + cp -r "$ROOT/Xargo.toml" . xargo test --no-run --target "$TARGET" --release $CARGOFLAGS fi popd > /dev/null -- GitLab