]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: init: disable doctests
authorBenno Lossin <benno.lossin@proton.me>
Sat, 8 Mar 2025 11:03:51 +0000 (11:03 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 16 Mar 2025 20:59:18 +0000 (21:59 +0100)
commit206dea39e55968d8f3ad56771507361eb799dfc7
tree8abf4948b29957226c735c9f016d8ee8fcd73e00
parentdc60dd0c688e794fefb6b3de8552b3c9452f812e
rust: init: disable doctests

The build system cannot handle doctests in the kernel crate in files
outside of `rust/kernel/`. Subsequent commits will move files out of
that directory, but will still compile them as part of the kernel crate.
Thus ignore all doctests in the to-be-moved files.

Leave tests disabled until they are separated into their own crate and
they stop causing breakage.

Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250308110339.2997091-2-benno.lossin@proton.me
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/init.rs
rust/macros/lib.rs