projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f9280
)
scripts: generate_rust_analyzer: add uapi crate
author
Tamir Duberstein
<tamird@gmail.com>
Mon, 10 Feb 2025 18:04:17 +0000
(13:04 -0500)
committer
Miguel Ojeda
<ojeda@kernel.org>
Tue, 11 Mar 2025 23:13:07 +0000
(
00:13
+0100)
Commit
4e1746656839
("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:
4e1746656839
("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>
scripts/generate_rust_analyzer.py
patch
|
blob
|
history
diff --git
a/scripts/generate_rust_analyzer.py
b/scripts/generate_rust_analyzer.py
index
f2d6787
..
adae715
100755
(executable)
--- a/
scripts/generate_rust_analyzer.py
+++ b/
scripts/generate_rust_analyzer.py
@@
-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: