Commit e440bc5
scripts: generate_rust_analyzer: fix resolution of #[pin_data] macros
Currently, rust-analyzer fails to properly resolve structs annotated with
`#[pin_data]`. This prevents IDE features like "Go to Definition" from
working correctly for those structs.
Add the missing configuration to `generate_rust_analyzer.py` to ensure
the `pin-init` crate macros are handled correctly.
Signed-off-by: SeungJong Ha <[email protected]>
Fixes: d7659ac ("rust: add pin-init crate build infrastructure")
Cc: [email protected]
Tested-by: Tamir Duberstein <[email protected]>
Acked-by: Tamir Duberstein <[email protected]>
Acked-by: Gary Guo <[email protected]>
Reviewed-by: Jesung Yang <[email protected]>
Link: https://patch.msgid.link/20260123-fix-pin-init-crate-dependecies-v2-1-bb1c2500e54c@gmail.com
Signed-off-by: Miguel Ojeda <[email protected]>1 parent b0581f6 commit e440bc5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments