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

From: Carlos Bilbao
Date: Mon Jul 31 2023 - 10:15:55 EST


On 7/20/23 17:46, Jonathan Corbet wrote:
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?

I have not been able to reproduce this error either. If anyone comes across
this error in the future, please reach out to the list.


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

Thanks,

jon

Thanks,
Carlos