[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=gpzQyh1ExGbBWWNdgH-mTATdG5F600jKD1=NLLCn7wg@mail.gmail.com>
Date: Sat, 4 Feb 2023 01:05:19 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Jonathan Corbet <corbet@....net>
Cc: Carlos Bilbao <carlos.bilbao@....com>, ojeda@...nel.org,
jani.nikula@...ux.intel.com, rdunlap@...radead.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
konstantin@...uxfoundation.org, bilbao@...edu
Subject: Re: [PATCH v6 0/2] docs: Integrate rustdoc into Rust documentation
On Fri, Feb 3, 2023 at 6:55 PM Jonathan Corbet <corbet@....net> wrote:
>
> - I dumped my Fedora toolchain and did the curl|bash ritual to set up
> the proper versions with rustup. It would be nice to have some better
> documentation on how to do that ... *how* to install bindgen may not
> be obvious to all users. It also failed until I installed lld
> separately.
Are you referring to the Quick Start guide? I am asking because the
guide has a one-line command ready for copy-paste to install
`bindgen`, so I guess you mean something else (?). It also notes that
there are standalone installers available (if you don't want `rustup`)
-- I will change the URL to point directly to the page with the
installers, though, since that should help.
The script behind `make rustavailable` is getting a bunch of
improvements (and tests) in an ongoing patch series -- I will check
the `lld` issue for v2 too. If you don't mind it, I will Cc you then,
in case you could give it a try and confirm it helped.
Thanks!
> I'd really like to see a solution that (1) doesn't kill the docs build
> process if the tool versions are wrong, and (2) doesn't force the
> creation of a kernel configuration. What are our chances of getting
> there?
It may be quite involved, since a few artifacts from the normal build
would be needed [1]. Since some things in the build system will likely
change anyway, it is probably best to come back to this after that.
What do you think, Carlos? Or would you like to give it a try?
[1] https://lore.kernel.org/linux-doc/CANiq72mC+WzOxhZVtEvnsFYzuBPkd51=TYXK01ztcTZ-CAcUiw@mail.gmail.com/
Cheers,
Miguel
Powered by blists - more mailing lists