[PATCH 0/2] rust: fix rust-analyzer configuration for generated files
From: Tamir Duberstein
Date: Mon Feb 10 2025 - 12:56:07 EST
The individual patches should be descriptive on their own. They are
included in a single series because the second patch uses a function
introduced in the first.
I've confirmed this allows me to navigate to symbols defined in
generated files as well as to the generated files themselves. I am using
an out-of-source build.
Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>
---
Tamir Duberstein (2):
scripts: generate_rust_analyzer.py: add missing include_dirs
scripts: generate_rust_analyzer.py: add uapi crate
scripts/generate_rust_analyzer.py | 41 ++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 20 deletions(-)
---
base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3
change-id: 20250210-rust-analyzer-bindings-include-531e9dacec8d
Best regards,
--
Tamir Duberstein <tamird@xxxxxxxxx>