Commit graph

2048 commits

Author SHA1 Message Date
Joshua Nelson
8d0b93b441 Remove the diagram of all outputs generated by x.py
These are already present in the table below, there's no need to repeat it.
Having it near the middle of the page makes it feel more overwhelming.
2022-09-12 18:48:21 -05:00
Joshua Nelson
c1fc7df2b1 "symbol names" => ABI
ABI is more general and gives a better idea of what goes wrong.
2022-09-12 18:48:21 -05:00
Devin Jeanpierre
072e5eb38b Add symbol-addition to the how-to for new features (#1457)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-09-12 06:19:13 +09:00
Eric Holk
9a579ece8d Fix typo (#1459) 2022-09-09 10:50:44 +09:00
Xiretza
7dda4826de Document multipart_suggestion derive on SessionSubdiagnostic 2022-09-05 10:59:20 +01:00
Samyak Sarnayak
e2d598b51a Add reference for updating Windows PATH and fix typo
Yes, the reference is a page on Java's documentation but that's the most complete and most official looking reference I could find.
2022-09-03 06:11:07 +02:00
Eric Huss
8f3c3cf45a Update for removal of RLS (#1450) 2022-09-02 23:03:15 +09:00
Yuki Okushi
4af32fbc72 Fix the link to Parser struct
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-08-29 20:07:51 +02:00
Yuki Okushi
8c1de41f7f Remove a dangling link on "The #[test] attribute"
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-08-29 20:07:51 +02:00
est31
c12394c3a2 Update the stabilization guide to refer to the new placeholder system
The stabilization process is changed to now use `CURRENT_RUSTC_VERSION`
instead of spelling out whatever version is currently the latest.
This placeholder will be replaced during the release process with the
correct version.
2022-08-27 21:45:28 -04:00
Tshepang Mbambo
71dc466785 Refine the lintstore section (#1429) 2022-08-27 14:59:56 +09:00
Tshepang Mbambo
b08631e87f typo 2022-08-27 06:25:51 +02:00
Micah Weston
c8c183e684 Updates text to refer to LLVM documentation. 2022-08-27 06:25:51 +02:00
Micah Weston
680412f018 Updates LLVM prereqs since upgrade to C++17. 2022-08-27 06:25:51 +02:00
Tshepang Mbambo
34fb032a49 we got 3 (#1447) 2022-08-27 00:34:44 +09:00
SparrowLii
a0c49e3df5 A few corrections 2022-08-26 06:18:21 +02:00
SparrowLii
31281ef796 Update some statements 2022-08-26 06:18:21 +02:00
SparrowLii
aae4cd9ac2 correct typo in parallel-rustc.md 2022-08-26 06:18:21 +02:00
SparrowLii
0337cda7ef Correct some statements in parallel-rustc.md 2022-08-26 06:18:21 +02:00
SparrowLii
4f863535a5 update parallel-rustc.md 2022-08-26 06:18:21 +02:00
Tshepang Mbambo
dfb4949c40 address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1428#discussion_r948143840
2022-08-25 19:56:58 -07:00
Tshepang Mbambo
ba6d4a9a1c make date-check more easy to use
One could not run it like the following, for the would be a panic:

    cargo run --manifest-path ci/date-check/Cargo.toml .

Also, remove the need to specify argument, in which case, current_dir
is assumed.
2022-08-25 19:56:58 -07:00
Tshepang Mbambo
bad0cec3f6 update thir output (#1445) 2022-08-25 07:45:53 +09:00
Tshepang Mbambo
bbb9999b1c do not offer option to run code (#1442) 2022-08-23 07:46:35 +09:00
Tshepang Mbambo
e6fce3e173 fix quick-edit link (#1441) 2022-08-23 07:46:08 +09:00
Xiretza
c8b7044868 Document changes introduced by kind-less SessionDiagnostics 2022-08-21 08:49:30 -07:00
David Wood
3c1d54f21e diagnostics: fix outdated use of string slugs (#1436) 2022-08-19 10:47:58 +01:00
Nathan Stocks
ed711b71db Add missing lifetime (#1439)
* fix incorrect #[note] syntax

* more syntax fixes

* add missing lifetime
2022-08-18 17:53:51 -07:00
Nathan Stocks
e47431416c more syntax fixes 2022-08-18 22:41:51 +00:00
Nathan Stocks
9abbb0a829 fix incorrect #[note] syntax 2022-08-18 22:11:03 +00:00
est31
0b10fbcd96 Update slug style to use _ instead of - (#1426) 2022-08-17 23:16:44 +01:00
Tshepang Mbambo
d7ad33f0e9 remove incorrect info (#1435) 2022-08-17 19:33:13 +09:00
Tshepang Mbambo
5e97e7482a fix lifetime name (#1431) 2022-08-17 19:29:27 +09:00
Tshepang Mbambo
9ad2e8ca11 Update the date reference around Git submodule bug (#1430) 2022-08-17 17:07:40 +09:00
Tshepang Mbambo
294cf73c6d Improve the "Diagnostic items" chapter (#1427) 2022-08-13 10:00:38 +09:00
Tshepang Mbambo
daaa3c48d4 date-check: crates-io 2022-08-11 08:13:27 +02:00
Tshepang Mbambo
8cf1d4a252 fix/improve compiler-debugging 2022-08-10 23:27:09 +02:00
Joshua Nelson
4810caa484 Update src/compiler-debugging.md 2022-08-10 09:23:51 -05:00
yukang
acda23e85b add gdb tips for symbol-mangling-version 2022-08-10 09:23:51 -05:00
Tshepang Mbambo
a5fe677985 move references down to avoid clutter (#1420)
Also, make link to upstream llvm repo clickable
2022-08-09 14:52:46 -07:00
Tshepang Mbambo
a762ee343e update date-check format on github issue (#1416)
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-09 14:49:43 -07:00
Noah Lev
ea5366f7f7 Fix legend colors in dark mode 2022-08-09 16:47:22 -05:00
Noah Lev
471cfed90d Add color for downloaded nodes 2022-08-09 16:44:20 -05:00
Noah Lev
38685a4f0d Add colors to diagram 2022-08-09 16:44:20 -05:00
Noah Lev
84c740f436 Add bootstrapping diagram
This diagram is based on the diagram in Joshua Nelson's talk on
bootstrapping at RustConf 2022 [1]. I converted it to Mermaid and made
some tweaks to simplify it and bring it closer to bootstrap's
terminology, and then Ralf Jung added nodes for copying artifacts.

[1]: https://rustconf.com/schedule#bootstrapping-the-once-and-future-compiler

Co-authored-by: Joshua Nelson <github@jyn.dev>
Co-authored-by: Ralf Jung <post@ralfj.de>
2022-08-09 16:44:20 -05:00
Tshepang Mbambo
4d474f36c7 date-check: rustc_codegen_ssa is still alive
Latest reference on it I could find on zulip:
https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Cursed.3A.20no_core.20Add.20on.20primitive.20int.20returning.20Option.3C.3E/near/287514393
2022-08-08 15:15:15 +02:00
Tshepang Mbambo
807358d87c note is now too old to be relevant 2022-08-08 15:15:15 +02:00
Tshepang Mbambo
3c7ae5a981 date-check: be more strict 2022-08-02 17:22:34 -04:00
Tshepang Mbambo
481233d42e make date-check more lightweight (#1394)
* make date-check lightweight

This avoids having to write the date twice when updating date-check.

Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"

* please clippy

* update date-check docs

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017

* this breaks markdown

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268

This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816

* accept review suggestion

This was reverted by mistake

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395

* use a more simple fn

* address review comment

https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981

Much more clean

* nit

* accept review suggestion

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* avoid a failed regex

Also, test new shape

* adjust to new regex (which uses named groups)

New regex was introduced by 456008cc35de0597d26fec0030ee5db8a0c2fb65

Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
Tshepang Mbambo
3666e3ade7 address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1402#discussion_r933905339
2022-07-31 07:46:57 +02:00