mirror of
https://github.com/torvalds/linux.git
synced 2025-08-16 06:31:34 +02:00
scripts: generate_rust_analyzer: add uapi crate
Commit4e17466568
("rust: uapi: Add UAPI crate") did not update rust-analyzer to include the new crate. Add the missing definition to improve the developer experience. Fixes:4e17466568
("rust: uapi: Add UAPI crate") Signed-off-by: Tamir Duberstein <tamird@gmail.com> Tested-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20250210-rust-analyzer-bindings-include-v2-2-23dff845edc3@gmail.com [ Slightly reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
d1f9280524
commit
a1eb95d6b5
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ def generate_crates(srctree, objtree, sysroot_src, external_src, cfgs):
|
|||
}
|
||||
|
||||
append_crate_with_generated("bindings", ["core"])
|
||||
append_crate_with_generated("kernel", ["core", "macros", "build_error", "bindings"])
|
||||
append_crate_with_generated("uapi", ["core"])
|
||||
append_crate_with_generated("kernel", ["core", "macros", "build_error", "bindings", "uapi"])
|
||||
|
||||
def is_root_crate(build_file, target):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue