]> Git Repo - linux.git/commit
kbuild: rust-analyzer: mark `rust_is_available.sh` invocation as recursive
authorMiguel Ojeda <[email protected]>
Tue, 6 Aug 2024 23:35:59 +0000 (01:35 +0200)
committerMiguel Ojeda <[email protected]>
Fri, 9 Aug 2024 22:05:10 +0000 (00:05 +0200)
commitd734422b7dd7d033fc02e421924e70dabf665b4c
treec6e77276fe3eb79d96ed4eb752adbdb5c5023830
parent02dfd63afe65f7bacad543ba2b10f77083ae7929
kbuild: rust-analyzer: mark `rust_is_available.sh` invocation as recursive

When calling the `rust_is_available.sh` script, we need to make the
jobserver available to it, as commit ecab4115c44c ("kbuild: mark `rustc`
(and others) invocations as recursive") explains and did for the others.

Otherwise, we get a warning from `rustc` when calling `make rust-analyzer`
with parallel jobs, e.g. `-j8`. Using several jobs for that target does
not really matter, but developers may call `make` with jobs enabled in
all cases.

Thus fix it.

Fixes: 6dc9d9ca9a72 ("kbuild: rust-analyzer: better error handling")
Reviewed-by: Alice Ryhl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Reworded to add a couple more details mentioned in the list. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Makefile
This page took 0.049386 seconds and 4 git commands to generate.