[PATCH 0/1] fix rustdoc build detection

From: Mauro Carvalho Chehab
Date: Mon Nov 17 2025 - 04:20:04 EST


Hi Jon,

For whatever weird reason, at least here sometimes rust config
detection is failing, causing the logic to try building the Kernel
as well, after building the docs.

After some tests, I'm opting to move the rust detection to be inside
the wrapper, at it sounds to me that the building system is not
evaluating well CONFIG_RUST here:

ifeq ($(CONFIG_RUST),y)
RUSTDOC=--rustdoc
endif

Another alternative would be to modify the rustdoc target inside
rust Makefile to make it dependent on htmldocs, but that would require
more work.

Mauro Carvalho Chehab (1):
docs: makefile: move rustdoc check to the build wrapper

Documentation/Makefile | 6 -----
tools/docs/sphinx-build-wrapper | 41 +++++++++++++++++++++++++--------
2 files changed, 32 insertions(+), 15 deletions(-)

--
2.51.1