If my code has multiple targets, how could I make them both active in rust-analyzer #15293
-
Beta Was this translation helpful? Give feedback.
Answered by
flodiebold
Jul 16, 2023
Replies: 1 comment 1 reply
-
You can't. rust-analyzer can currently only analyze one active target. In principle having multiple targets/configurations active at the same time is a consideration, but it's 1. complicated to get right (all the IDE features have to choose which configuration to use, or whether they have to consider all of them), and 2. would impact performance quite a bit. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Dumpinground
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't. rust-analyzer can currently only analyze one active target. In principle having multiple targets/configurations active at the same time is a consideration, but it's 1. complicated to get right (all the IDE features have to choose which configuration to use, or whether they have to consider all of them), and 2. would impact performance quite a bit.