Re: [PATCH 01/22] rust: init: disable doctests

From: Fiona Behrens
Date: Wed Mar 05 2025 - 04:17:33 EST


Benno Lossin <benno.lossin@xxxxxxxxx> writes:

> This is the first commit in a series that splits off the pin-init crate
> from the kernel crate.
>
> The build system cannot handle doctests in the kernel crate in files
> outside of `rust/kernel/`. Since subsequent commits will move files out
> of that directory, but will still compile them as part of the kernel
> crate, ignore all doctests in the to-be-moved files.
>
> The tests will be re-enabled later when the separation into its own
> crate has been completed, since then the doctests of that new crate will
> be handled as normal host doctests.
>
> Signed-off-by: Benno Lossin <benno.lossin@xxxxxxxxx>

Reviewed-by: Fiona Behrens <me@xxxxxxxxxx>