Skip to content

If my code has multiple targets, how could I make them both active in rust-analyzer #15293

Closed Answered by flodiebold
Dumpinground asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Dumpinground
Comment options

Answer selected by Dumpinground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants