Commit graph

1826 commits

Author SHA1 Message Date
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
Tshepang Mbambo
f8fec2604e accept review suggestion
Co-authored-by: Joshua Nelson <github@jyn.dev>
2022-07-31 07:46:57 +02:00
Tshepang Mbambo
55370dae9e try address review comments 2022-07-31 07:46:57 +02:00
Tshepang Mbambo
6339e3368d summary of chapter 2022-07-31 07:46:57 +02:00
Tshepang Mbambo
2ea1935e99 Update src/building/compiler-documenting.md
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-31 07:46:57 +02:00
Tshepang Mbambo
0547c264b1 revamp doc-build chapter 2022-07-31 07:46:57 +02:00
Tshepang Mbambo
d0b31f4a90 minor fixes 2022-07-30 19:54:34 -04:00
Yuki Okushi
a9e9539c35 Prefer relative links
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
d08b61d91e Fix the link to clippy docs
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
467f08762c Fix the link to ResolverAstLowering
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
66547c803f Fix the link to ProcMacro trait
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
42ed847e84 Fix the link to Lazy<T>
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Urgau
1e0010dad0 Add instructions to fix build errors in std after adding a new target 2022-07-29 17:13:46 -04:00
bstrie
2ee5d943ef Document how to build a cross-compiler 2022-07-26 11:07:55 -04:00
ridwanabdillahi
8c2d506a15 Add documentation about Microsoft provided debuggers and CodeView/PDB… (#1406)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: Ridwan Abdilahi <riabdila@microsoft.com>
2022-07-26 07:33:58 +09:00
Amos Wenger
5325fb34a0 rust-analyzer is now a subtree
It used to be a submodule.

cf. https://github.com/rust-lang/rust/pull/99603
2022-07-25 11:40:28 +02:00
Luqman Aden
b9872232ed Debuginfo tests now also support revisions. 2022-07-21 04:48:49 +02:00
Amos Wenger
8cf6d8019d Link to rendered book directly
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-19 15:58:55 +02:00
Amos Wenger
e860ca1d70 Fix link to clippy sync docs 2022-07-19 15:58:55 +02:00
Tshepang Mbambo
11f9e8c05a remove stray markup 2022-07-19 09:56:55 +02:00
Tshepang Mbambo
08ed4b72db renamed 2022-07-19 09:56:55 +02:00
Tshepang Mbambo
3c524750b1 sync with hackmd version
See https://hackmd.io/5t8pLdJcRDmqbfN9ZXje3g
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
ccf0dcbe9a replace misleading name (#1401) 2022-07-19 15:56:24 +09:00