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:
8
8
9
9
``` shell
10
10
cargo install mdbook
11
+ cargo install mdbook-toc
11
12
cargo xtask codegen
12
13
cd docs/book
13
14
mdbook serve
Original file line number Diff line number Diff line change 5
5
rust-analyzer fails to resolve ` None ` , and thinks you are binding to a variable
6
6
named ` None ` . That's usually a sign of a corrupted sysroot. Try removing and re-installing
7
7
it: ` 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