ci: enable Rust for breaking-changes jobs

Enable Rust for our breaking-changes jobs so that we can verify that the build infrastructure and the converted Rust subsystems work as expected. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed Oct 2, 2025 at 09:29 UTC e425c40aa00d2ae6b1bbc33cfa9fecd30a0a8ec6
2 files changed +4 -2
ci/install-dependencies.sh
+2 -2
@@ -35,7 +35,7 @@ fedora-*|almalinux-*)
35 MESON_DEPS="meson ninja";;
36 esac
37 dnf -yq update >/dev/null &&
38 - dnf -yq install shadow-utils sudo make pkg-config gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel $MESON_DEPS >/dev/null
38 + dnf -yq install shadow-utils sudo make pkg-config gcc findutils diffutils perl python3 gawk gettext zlib-devel expat-devel openssl-devel curl-devel pcre2-devel $MESON_DEPS cargo >/dev/null
39 ;;
40 ubuntu-*|i386/ubuntu-*|debian-*)
41 # Required so that apt doesn't wait for user input on certain packages.
@@ -62,7 +62,7 @@ ubuntu-*|i386/ubuntu-*|debian-*)
62 make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
63 tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl \
64 libemail-valid-perl libio-pty-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \
65 - libsecret-1-dev libpcre2-dev meson ninja-build pkg-config \
65 + libsecret-1-dev libpcre2-dev meson ninja-build pkg-config cargo \
66 ${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
67
68 case "$distro" in
ci/run-build-and-tests.sh
+2
@@ -9,7 +9,9 @@ case "$jobname" in
9 fedora-breaking-changes-musl|linux-breaking-changes)
10 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
11 export WITH_BREAKING_CHANGES=YesPlease
12 + export WITH_RUST=YesPlease
13 MESONFLAGS="$MESONFLAGS -Dbreaking_changes=true"
14 + MESONFLAGS="$MESONFLAGS -Drust=enabled"
15 ;;
16 linux-TEST-vars)
17 export OPENSSL_SHA1_UNSAFE=YesPlease