Do not copy .cargo and libc-artifacts

Cargo searches parent directories for .cargo, so this is unnecessary.
This commit is contained in:
Ian Douglas Scott 2017-05-10 21:20:13 -07:00
parent 1fb6beca63
commit 714bc32f17
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

View File

@ -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