Re: [PATCH v8 0/2] docs: Integrate rustdoc into Rust documentation

From: Jonathan Corbet
Date: Thu Jul 20 2023 - 18:47:09 EST


Carlos Bilbao <carlos.bilbao@xxxxxxx> writes:

> Include HTML output generated with rustdoc into the Linux kernel
> documentation on Rust.
>
> Carlos Bilbao:
> docs: Move rustdoc output, cross-reference it
> docs: Integrate rustdoc generation into htmldocs

So I've been messing with this a bit, trying the various combinations.

- With no .config file, it behaves as it always did - thanks.

- With CONFIG_RUST=y I get the rustdocs, as expected. There is a time
penalty of about 5%, which is unfortunate, but that's the cost of
progress, I guess.

- Setting CONFIG_RUST=n led to a crash with make complaining:
"No rule to make target 'rustdoc'". That isn't something I have been
able to reproduce, though, so I have no idea what happened there; have
you ever seen this?

Other than that one bit of strangeness, I think this is about ready to
be applied.

Thanks,

jon