about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-10-01 20:47:31 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-10-01 21:17:06 +0200
commit5424c51158ba5d4410695bca055709051797a44b (patch)
tree8d4c0a1cb3715884c7dbde73d5e6e6f91ee2dafb /docs/dev
parentbf5cad8e775fb326465e5c1b98693e5d259da156 (diff)
downloadrust-5424c51158ba5d4410695bca055709051797a44b.tar.gz
rust-5424c51158ba5d4410695bca055709051797a44b.zip
Add config for supplying sysroot path
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md
index c7f152acc26..4ac75b4bbfd 100644
--- a/docs/dev/README.md
+++ b/docs/dev/README.md
@@ -98,7 +98,7 @@ After I am done with the fix, I use `cargo xtask install --client` to try the ne
 If I need to fix something in the `rust-analyzer` crate, I feel sad because it's on the boundary between the two processes, and working there is slow.
 I usually just `cargo xtask install --server` and poke changes from my live environment.
 Note that this uses `--release`, which is usually faster overall, because loading stdlib into debug version of rust-analyzer takes a lot of time.
-To speed things up, sometimes I open a temporary hello-world project which has `"rust-analyzer.cargo.noSysroot": true` in `.code/settings.json`.
+To speed things up, sometimes I open a temporary hello-world project which has `"rust-analyzer.cargo.sysroot": null` in `.code/settings.json`.
 This flag causes rust-analyzer to skip loading the sysroot, which greatly reduces the amount of things rust-analyzer needs to do, and makes printf's more useful.
 Note that you should only use the `eprint!` family of macros for debugging: stdout is used for LSP communication, and `print!` would break it.