File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,20 @@ make -C linux LLVM=1 -j$(($(nproc) + 1)) \
6262 defconfig \
6363 rfl-for-rust-ci.config
6464
65+ # Build a few Rust targets
66+ #
67+ # This does not include building the C side of the kernel nor linking,
68+ # which can find other issues, but it is much faster.
69+ #
70+ # This includes transforming `rustdoc` tests into KUnit ones thanks to
71+ # `CONFIG_RUST_KERNEL_DOCTESTS=y` above (which, for the moment, uses the
72+ # unstable `--test-builder` and `--no-run`).
6573make -C linux LLVM=1 -j$(( $(nproc) + 1 )) \
6674 samples/rust/rust_minimal.o \
6775 samples/rust/rust_print.o \
6876 drivers/net/phy/ax88796b_rust.o \
6977 rust/doctests_kernel_generated.o
7078
79+ # Generate documentation
7180make -C linux LLVM=1 -j$(( $(nproc) + 1 )) \
7281 rustdoc
You can’t perform that action at this time.
0 commit comments