File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ To run the documentation site locally:
88
99``` shell
1010cargo install mdbook
11+ cargo install mdbook-toc
1112cargo xtask codegen
1213cd docs/book
1314mdbook serve
Original file line number Diff line number Diff line change 55rust-analyzer fails to resolve ` None ` , and thinks you are binding to a variable
66named ` None ` . That's usually a sign of a corrupted sysroot. Try removing and re-installing
77it: ` rustup component remove rust-src ` then ` rustup component install rust-src ` .
8+
9+ ### Rust Analyzer and Cargo compete over the build lock
10+
11+ Rust Analyzer invokes Cargo in the background, and it can thus block manually executed
12+ ` cargo ` commands from making progress (or vice-versa). In some cases, this can also cause
13+ unnecessary recompilations caused by cache thrashing. To avoid this, you can configure
14+ Rust Analyzer to use a [ different target directory] ( ./configuration.md#cargo.targetDir ) .
15+ This will allow both the IDE and Cargo to make progress independently, at the cost of
16+ increased disk space usage caused by the duplicated artifact directories.
You can’t perform that action at this time.
0 commit comments