Skip to content

Commit 5b05be1

Browse files
committed
Auto merge of #3355 - saethlin:cargo-miri-clean, r=RalfJung
Use cargo miri clean in build-all-targets.sh
2 parents 8851f3c + 75f6694 commit 5b05be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/ci/build-all-targets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PLATFORM_SUPPORT_FILE=$(rustc +miri --print sysroot)/share/doc/rust/html/rustc/p
1212

1313
for target in $(python3 ci/scrape-targets.py $PLATFORM_SUPPORT_FILE); do
1414
# Wipe the cache before every build to minimize disk usage
15-
rm -rf ~/.cache/miri
15+
cargo +miri miri clean
1616
if cargo +miri miri setup --target $target 2>&1 | tee failures/$target; then
1717
# If the build succeeds, delete its output. If we have output, a build failed.
1818
rm $FAILS_DIR/$target

0 commit comments

Comments
 (0)