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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 5, 2025 at 12:51 PM brian m. carlson
<sandals@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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.

Agreed, this is nice attention to detail that I would have overlooked.
Much appreciated.





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux