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)) \
62
62
defconfig \
63
63
rfl-for-rust-ci.config
64
64
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`).
65
73
make -C linux LLVM=1 -j$(( $(nproc) + 1 )) \
66
74
samples/rust/rust_minimal.o \
67
75
samples/rust/rust_print.o \
68
76
drivers/net/phy/ax88796b_rust.o \
69
77
rust/doctests_kernel_generated.o
70
78
79
+ # Generate documentation
71
80
make -C linux LLVM=1 -j$(( $(nproc) + 1 )) \
72
81
rustdoc
You can’t perform that action at this time.
0 commit comments