mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
Do not copy .cargo and libc-artifacts
Cargo searches parent directories for .cargo, so this is unnecessary.
This commit is contained in:
parent
1fb6beca63
commit
714bc32f17
4
cook.sh
4
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user