Tshepang Mbambo
456008cc35
accept review suggestion
...
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 05:38:20 +02:00
Tshepang Mbambo
483a0a5ab7
nit
2022-07-31 23:29:36 +02:00
Tshepang Mbambo
2a5b586c24
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981
Much more clean
2022-07-31 23:26:41 +02:00
Tshepang Mbambo
ade29246e2
use a more simple fn
2022-07-31 22:55:22 +02:00
Tshepang Mbambo
dcfb973066
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395
2022-07-31 22:43:59 +02:00
Tshepang Mbambo
e697cb6cbe
accept review suggestion
...
This was reverted by mistake
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-07-31 22:34:30 +02:00
Tshepang Mbambo
ea2f1c2977
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816
2022-07-31 22:30:14 +02:00
Tshepang Mbambo
74b9b456c1
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419
2022-07-31 22:09:30 +02:00
Tshepang Mbambo
3faf82c00e
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.
2022-07-31 22:00:27 +02:00
Tshepang Mbambo
df6b80508d
this breaks markdown
2022-07-31 21:00:03 +02:00
Tshepang Mbambo
e82c2457b4
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017
2022-07-31 00:07:45 +02:00
Tshepang Mbambo
f4803a77e3
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
c9fcae3d6b
accept review suggestion
...
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
9eef34fedd
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
d946154764
accept review suggestion
...
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
5524470c1c
update date-check docs
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
5b5ab38144
please clippy
2022-07-30 21:47:59 +02:00
Tshepang Mbambo
b570c882df
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"
2022-07-30 21:47:59 +02:00
Yuki Okushi
7955bb399f
Prefer relative links
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
637ebaa545
Fix the link to clippy docs
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
bbbd60d245
Fix the link to `ResolverAstLowering`
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
18fa8fb103
Fix the link to `ProcMacro` trait
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Yuki Okushi
c0b491ee43
Fix the link to `Lazy<T>`
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-29 20:12:26 -04:00
Urgau
30a4d2b134
Add instructions to fix build errors in std after adding a new target
2022-07-29 17:13:46 -04:00
bstrie
e5e5a9b861
Document how to build a cross-compiler
2022-07-26 11:07:55 -04:00
ridwanabdillahi
c7637def78
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
bcc1166bf6
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
d5201cddac
Debuginfo tests now also support revisions.
2022-07-21 04:48:49 +02:00
Amos Wenger
bac43d0fdb
Link to rendered book directly
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2022-07-19 15:58:55 +02:00
Amos Wenger
5c8febd8cb
Fix link to clippy sync docs
2022-07-19 15:58:55 +02:00
Tshepang Mbambo
2b87b31676
remove stray markup
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
6e1ac9dd04
renamed
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
0c2f5c9b77
sync with hackmd version
...
See https://hackmd.io/5t8pLdJcRDmqbfN9ZXje3g
2022-07-19 09:56:55 +02:00
Tshepang Mbambo
2802da7b37
replace misleading name ( #1401 )
2022-07-19 15:56:24 +09:00
Yuki Okushi
dca7b1b9c1
Remove a mention to Steve on r? example
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-18 07:31:14 +02:00
Tshepang Mbambo
168442374d
obey line length limit (part 3)
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
1b62c12bbe
obey line length limit (part 2)
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
5cc90f3ab1
obey line length limit
2022-07-17 23:34:12 +02:00
HackMD
857ee492fc
sync with hackmd
2022-07-17 23:34:12 +02:00
Niko Matsakis
53395b0e3d
add draft chapter
2022-07-17 23:34:12 +02:00
Niko Matsakis
e764363e7f
add mdbook-mermaid
2022-07-17 23:34:12 +02:00
Tshepang Mbambo
ade9352771
use relative links
...
Used the following command, followed by some manual tweaking:
sd 'https://rustc-dev-guide.rust-lang.org/(.+).html ' '$1.md' (fd)
2022-07-17 02:32:44 +02:00
Tshepang Mbambo
56eb8b69b5
fix some typos ( #1398 )
2022-07-17 06:45:36 +09:00
davidrusu
8bbee4f5a3
typo: monomorph docs
2022-07-16 16:44:10 +02:00
5225225
2e754ba3d7
Rename debugging_opts to unstable_opts, use link
2022-07-16 12:56:25 +02:00
Tshepang Mbambo
0eb86d9bfe
address review comment
...
https://github.com/rust-lang/rustc-dev-guide/pull/1392#discussion_r921560851
2022-07-15 13:24:50 +02:00
Tshepang Mbambo
7a99011947
update date reference on MIR inliner
...
cc #1379
2022-07-15 13:24:50 +02:00
Tshepang Mbambo
47e04448c7
remove outdated info on debugging
...
Closes #1391
Also, do some small fixes/improvements while at it.
2022-07-15 13:24:07 +02:00
Tshepang Mbambo
4a96ed5165
small fixes to ty chapter ( #1390 )
2022-07-15 15:47:42 +09:00
Joshua Nelson
f92263e45b
Update the build instructions for the standard library
...
Since https://github.com/rust-lang/rust/pull/95503 , `library/std` means
"build just std and its dependencies"; to get the old behavior that built
`proc_macro` and `test`, you need `x build library`.
- Update `library/std` to `library`
- Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
compiler / standard library.
- Remove a few repetitive sections and don't discuss incremental in such detail
Incremental works well enough that it should "just work" for most people;
I don't think it needs multiple paragraphs of explanation so early in the guide.
- Clarify that `test library/std` *only* tests libstd in a few places
2022-07-11 07:22:24 +02:00