rust-analyzer icon indicating copy to clipboard operation
rust-analyzer copied to clipboard

Unecessary extra compilation of dependencies vscode.

Open jonathandw743 opened this issue 1 year ago • 9 comments

rust-analyzer version: 0.3.1756

rustc version: 1.74.1

In vscode. When I do cargo run with RA disabled, it acts normally, when I run cargo run with RA enabled, it recompiles a bunch of dependencies that it shouldn't need to. I only change one number in one of my files. The dependencies it recompiles are:

    Blocking waiting for file lock on build directory
   Compiling freetype-sys v0.13.1
   Compiling expat-sys v2.1.6
   Compiling crossfont v0.5.2
   Compiling x11-dl v2.21.0
   Compiling servo-fontconfig-sys v5.1.0
   Compiling freetype-rs v0.26.0
   Compiling servo-fontconfig v0.5.1
   Compiling sctk-adwaita v0.4.3
   Compiling winit v0.27.5

jonathandw743 avatar Dec 09 '23 15:12 jonathandw743