diff options
| author | 2026-04-20 10:58:30 -0400 | |
|---|---|---|
| committer | 2026-04-27 07:30:16 -0600 | |
| commit | 6a0bb890d2e302fa8a1b67c3011d3179678bfeb2 (patch) | |
| tree | 36a5cfa1fb6ecab9b326ff2c4ec94ad755ff335a /kernel/liveupdate/ssh:/git@git.zx2c4.com | |
| parent | ksmbd: validate owner of durable handle on reconnect (diff) | |
scripts: generate_rust_analyzer.py: define scripts
[ Upstream commit 36c619f6bd793493294becb10a02fea370b67a91 ]
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>
[ changed `[std]` dep to `["std"]` and kept untyped `is_root_crate()` ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/liveupdate/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
