]> git.ipfire.org Git - thirdparty/git.git/commit
Enable Rust by default
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 9 Apr 2026 22:44:34 +0000 (22:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2026 00:25:36 +0000 (17:25 -0700)
commit32d5b905909e781786c4735e6bd71503b23e4fb1
tree48eddb2177219b2739e49156f64a797fbb606573
parent30e6f7adf626af926a02897294363dbf5f3bbe65
Enable Rust by default

Our breaking changes document says that we'll enable Rust by default in
Git 2.54.  Adjust the Makefile to switch the option from WITH_RUST to
NO_RUST to enable it by default and update the help text accordingly.
Similarly, for Meson, enable the option by default and do not
automatically disable it if Cargo is missing, since the goal is to help
users find where they are likely to have problems in the future.

Update our CI tests to swap out the single Linux job with Rust to a
single job without, both for Makefile and Meson.  Similarly, update the
Windows Makefile job to not use Rust, while the Meson job (which does
not build with ci/lib.sh) will default to having it enabled.

Move the check for Cargo in the Meson build because it is no longer
needed in the main script.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
ci/lib.sh
ci/run-build-and-tests.sh
meson.build
meson_options.txt
src/meson.build