Subject: Re: [PATCH RFC v2 3/7] help: report on whether or not Rust is enabled

From: "brian m. carlson" <[email-masked]>
Date: Fri, 5 Sep 2025 19:51:29 +0000

On 2025-09-05 at 11:50:59, Patrick Steinhardt wrote:
> diff --git a/help.c b/help.c
> index bb20498cfd..5854dd4a7e 100644
> --- a/help.c
> +++ b/help.c
> @@ -791,6 +791,12 @@ void get_version_info(struct strbuf *buf, int show_build_options)
>  		strbuf_addf(buf, "shell-path: %s\n", SHELL_PATH);
>  		/* NEEDSWORK: also save and output GIT-BUILD_OPTIONS? */
>  
> +#if defined WITH_RUST
> +		strbuf_addstr(buf, "rust: enabled\n");
> +#else
> +		strbuf_addstr(buf, "rust: disabled\n");
> +#endif
> +

I think this is a great idea and likely to be super helpful.  Thanks for
including it.
-- 
brian m. carlson (they/them)
Toronto, Ontario, CA