[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1763370163.git.mchehab+huawei@kernel.org>
Date: Mon, 17 Nov 2025 10:12:50 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
"Jonathan Corbet" <corbet@....net>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-kernel@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>
Subject: [PATCH 0/1] fix rustdoc build detection
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
Powered by blists - more mailing lists