Skip to content

Commit 992dd0b

Browse files
committed
CI: rfl: add a couple comments to split the steps and document them
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 1f12b9b commit 992dd0b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/ci/docker/scripts/rfl-build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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`).
6573
make -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
7180
make -C linux LLVM=1 -j$(($(nproc) + 1)) \
7281
rustdoc

0 commit comments

Comments
 (0)