Rust-for-Linux / linux

Adding support for the Rust language to the Linux kernel.
https://rust-for-linux.com
Other
3.99k stars 430 forks source link

rust-analyzer: go to definition for `bindings::*` for out of tree builds #1050

Open metaspace opened 11 months ago

metaspace commented 11 months ago

Go to definition via rust-analyzer with the configuration generated by make rust-analyzer is not working for out of tree builds make O=....

Probably related to https://github.com/rust-lang/rust-analyzer/issues/15836 and not our fault. Opening the issue to track.

[ @gipsyh reported https://github.com/Rust-for-Linux/linux/issues/829. - Miguel ]

ojeda commented 11 months ago

I have created a new sub-list for rust-analyzer and added it there.