▲ | jtwaleson 2 days ago | |||||||
I understand what you mean but "pay it once" is the wrong description for something that you do hundreds/thousands of times per day as a developer. Every time I save a file in my IDE, the Rust checkers run and are very slow. | ||||||||
▲ | zamalek 2 days ago | parent [-] | |||||||
Make sure you tell rust-analyzer to use its own profile (<init_options>.rust.analyzerTargetDir=true). This means rust analyzer and your IDE will have different target dirs (target/debug and target/rust-analyzer), this can prevent flagging resulting from cargo and rust-analyzer fighting over the features etc. I have this set at system/global level in my IDE config. The downside is that you'll use double the disk space. | ||||||||
|