summaryrefslogtreecommitdiff
path: root/ci-prod.ick
diff options
context:
space:
mode:
Diffstat (limited to 'ci-prod.ick')
-rw-r--r--ci-prod.ick10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci-prod.ick b/ci-prod.ick
index 5c150c5..1492f7c 100644
--- a/ci-prod.ick
+++ b/ci-prod.ick
@@ -1199,6 +1199,11 @@ pipelines:
type --all cargo
(cd src && cargo read-manifest)
+ # Force use of rustup cargo instead of cargo as packaged by
+ # Debian. dh-cargo hardcodes /usr/bin/cargo.
+ mv /usr/bin/cargo /usr/bin/cargo.debian
+ ln -nsf /workspace/.cargo/bin/cargo /usr/bin/cargo
+
rm -f ./*_*.*
cd /workspace/src
git clean -fdx -e target
@@ -1236,6 +1241,11 @@ pipelines:
exit 1
fi
+ # Undo previous hack.
+ rm /usr/bin/cargo
+ mv /usr/bin/cargo.debian /usr/bin/cargo
+
+
- pipeline: rust_run_check_if_there
actions:
- where: container