From 73f6b33dbba0cb9f8e7c1769bfaf8e5b2285325c Mon Sep 17 00:00:00 2001 From: Philipp Dresselmann Date: Wed, 18 Dec 2024 16:01:11 +0100 Subject: [PATCH] chore: Avoid unnecessarily copying the doctest binaries The doctest binaries can take up ~3GB for a debug build. There's no reason to waste that much disk space and copying them is slower than moving, too. They're only used by `grcov` right now, so they needn't be preserved. --- coverage_report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage_report.sh b/coverage_report.sh index 6f775ae1..1d544384 100755 --- a/coverage_report.sh +++ b/coverage_report.sh @@ -23,7 +23,7 @@ main() { exc cargo llvm-cov --all-features --workspace --doctests --branch - exc cp -rv target/llvm-cov-target/doctestbins target/llvm-cov-target/debug/deps/doctestbins + exc mv -v target/llvm-cov-target/doctestbins target/llvm-cov-target/debug/deps/ exc rm -rf "${OUTPUT_DIR}" exc mkdir -p "${OUTPUT_DIR}" exc grcov target/llvm-cov-target/ --llvm -s . --branch \