Skip to content

Commit 595f2f3

Browse files
committed
and a few more links
1 parent 518da21 commit 595f2f3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/appendix/stupid-stats.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ complex make project or Cargo build, etc. That could be a lot of work;
1717
rustc, like most compilers, takes a large number of command line arguments which
1818
can affect compilation in complex and interacting ways. Emulating all of this
1919
behaviour in your tool is annoying at best, especically if you are making many
20-
of the same calls into librustc that the compiler is.
20+
of the same calls into librustc_middle that the compiler is.
2121

2222
The kind of things I have in mind are tools like rustdoc or a future rustfmt.
2323
These want to operate as closely as possible to real compilation, but have
@@ -27,7 +27,7 @@ custom code generation phase after macro expansion, then creating a new tool
2727
should be easier than forking the compiler (and keeping it up to date as the
2828
compiler evolves).
2929

30-
I have gradually been trying to improve the API of librustc to make creating a
30+
I have gradually been trying to improve the API of librustc_middle to make creating a
3131
drop-in tool easier to produce (many others have also helped improve these
3232
interfaces over the same time frame). It is now pretty simple to make a tool
3333
which is as close to rustc as you want it to be. In this tutorial I'll show
@@ -73,7 +73,7 @@ checking, borrow checking, type and lifetime inference, trait selection, method
7373
selection, linting, and so forth. Most error detection is done in this phase
7474
(although parse errors are found during parsing). The 'output' of this phase is
7575
a bunch of side tables containing semantic information about the source program.
76-
The analysis code is in [librustc](https://github.com/rust-lang/rust/tree/master/src/librustc)
76+
The analysis code is in [librustc_middle](https://github.com/rust-lang/rust/tree/master/src/librustc_middle)
7777
and a bunch of other crates with the 'librustc_' prefix.
7878

7979
Next is translation, this translates the AST (and all those side tables) into

src/compiler-team.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ They are held on [Zulip][zulip]. It works roughly as follows:
3636
- **Look over new regressions:** we then look for new cases where the
3737
compiler broke previously working code in the wild. Regressions are
3838
almost always marked as P-high; the major exception would be bug
39-
fixes (though even there we often
40-
[aim to give warnings first][procedure]).
39+
fixes (though even there we often [aim to give warnings first][procedure]).
4140
- **Check I-nominated issues:** These are issues where feedback from
4241
the team is desired.
4342
- **Check for beta nominations:** These are nominations of things to
@@ -52,7 +51,7 @@ complicated).
5251
The meeting is held over a "chat medium", currently on [zulip].
5352

5453
[etherpad]: https://public.etherpad-mozilla.org/p/rust-compiler-meeting
55-
[procedure]: https://forge.rust-lang.org/rustc-bug-fix-procedure.html
54+
[procedure]: ./bug-fix-procedure.md
5655
[zulip]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler
5756

5857
## Team membership

src/tests/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Rust's [platform tiers]).
129129
[Azure Pipelines]: https://dev.azure.com/rust-lang/rust/
130130
[bors]: https://github.com/servo/homu
131131
[queue]: https://buildbot2.rust-lang.org/homu/queue/rust
132-
[platform tiers]: https://forge.rust-lang.org/platform-support.html
132+
[platform tiers]: https://forge.rust-lang.org/release/platform-support.html#rust-platform-support
133133

134134
## Testing with Docker images
135135

0 commit comments

Comments
 (0)