]> git.ipfire.org Git - thirdparty/linux.git/commit
scripts: generate_rust_analyzer.py: define scripts
authorTamir Duberstein <tamird@kernel.org>
Thu, 22 Jan 2026 16:53:28 +0000 (11:53 -0500)
committerTamir Duberstein <tamird@kernel.org>
Mon, 9 Mar 2026 17:20:08 +0000 (13:20 -0400)
commit36c619f6bd793493294becb10a02fea370b67a91
treec988c6f82cc2fdbd448a78fb7cccf897e1859475
parent75c0fb25b56dc3ef122b1ac2dbb7bc9b31937408
scripts: generate_rust_analyzer.py: define scripts

Add IDE support for host-side scripts written in Rust. This support has
been missing since these scripts were initially added in commit
9a8ff24ce584 ("scripts: add `generate_rust_target.rs`"), thus add it.

Change the existing instance of extension stripping to
`pathlib.Path.stem` to maintain code consistency.

Fixes: 9a8ff24ce584 ("scripts: add `generate_rust_target.rs`")
Cc: stable@vger.kernel.org
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Link: https://patch.msgid.link/20260122-rust-analyzer-scripts-v1-1-ff6ba278170e@kernel.org
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
scripts/generate_rust_analyzer.py