Skip to content

Commit 11b83eb

Browse files
rylevJoshua Nelson
authored and
Joshua Nelson
committed
Add link to rust-analyzer docs on getting started page
1 parent a0819a6 commit 11b83eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/getting-started.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ should still read the rest of the section:
181181

182182
| Command | When to use it |
183183
| --- | --- |
184-
| `x.py check` | Quick check to see if things compile; rust-analyzer can run this automatically for you |
184+
| `x.py check` | Quick check to see if things compile; [rust-analyzer can run this automatically for you][rust-analyzer] |
185185
| `x.py build --stage 0 [library/std]` | Build only the standard library, without building the compiler |
186186
| `x.py build library/std` | Build just the 1st stage of the compiler, along with the standard library; this is faster than building stage 2 and usually good enough |
187187
| `x.py build --keep-stage 1 library/std` | Build the 1st stage of the compiler and skips rebuilding the standard library; this is useful after you've done an ordinary stage1 build to skip compilation time, but it can cause weird problems. (Just do a regular build to resolve.) |
@@ -230,6 +230,7 @@ test are mostly for the frontend of the compiler, so if you are working on LLVM
230230
or codegen, this shortcut will _not_ test your changes. You can read more about the
231231
different test suites [in this chapter][testing].
232232

233+
[rust-analyzer]: ./building/suggested.html#configuring-rust-analyzer-for-rustc
233234
[uitests]: ./tests/adding.html#ui
234235
[testing]: https://rustc-dev-guide.rust-lang.org/tests/intro.html
235236

0 commit comments

Comments
 (0)