]> git.ipfire.org Git - thirdparty/git.git/commit
help: report on whether or not Rust is enabled
authorPatrick Steinhardt <ps@pks.im>
Thu, 2 Oct 2025 07:29:29 +0000 (09:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 16:32:31 +0000 (09:32 -0700)
commitcb2badb4db67bcd02cc99a336c7b6bb0281980a1
tree6458df2ef9d0aa192772e066f2d0a0a0bf83a920
parente30c081c6af4963418184dbcd5df37322032f9dc
help: report on whether or not Rust is enabled

We're about to introduce support for Rust into the core of Git, where
some (trivial) subsystems are converted to Rust. These subsystems will
also retain a C implementation though as Rust is not yet mandatory.
Consequently, it now becomes possible for a Git version to have bugs
that are specific to whether or not it is built with Rust support
overall.

Expose information about whether or not Git was built with Rust via our
build info. This means that both `git version --build-options`, but also
`git bugreport` will now expose that bit of information. Hopefully, this
should make it easier for us to discover any Rust-specific issues.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c