Skip to content

Commit 4935eb6

Browse files
committed
fix cargo sweep
1 parent ca9aa12 commit 4935eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ time make -j$(($NPROCS - 1))
160160
ccache -s
161161
### incrementally purge old content from cargo source cache and target directory
162162
# cargo cache trim --limit 100M # cargo now manages its cache itself
163-
cargo sweep --maxsize 800MB
163+
(cd .. && CARGO_TARGET_DIRECTORY="build-${CC}-${PROTOCOL}/target" cargo sweep --maxsize 800MB)
164164

165165
if [ $WITH_TESTS -eq 0 ] ; then
166166
echo "Build done, skipping tests"

0 commit comments

Comments
 (0)