Commit graph

1360 commits

Author SHA1 Message Date
Camelid
e6b6363cc0 Add "ctxt" and TyCtxt to the glossary (#937) 2020-10-27 19:30:20 +01:00
Camelid
c68119c8d2 Clean up compiletest chapter (#935) 2020-10-26 11:58:00 +09:00
Yuki Okushi
c83287980d Improve prerequisites section for Windows (#934)
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-26 08:15:21 +09:00
Nadrieril
7de7a02633 Explain lint renaming/removing 2020-10-22 20:41:09 -04:00
Joshua Nelson
3ed54a3ff6 fix formatting 2020-10-22 09:08:04 -04:00
Joshua Nelson
7eb38c2b8c Improve markdown formatting 2020-10-22 09:08:04 -04:00
Joshua Nelson
9354c4f98b Add a check-in.sh script to automate writing markdown links
Example usage:

```
$ ./check-in.sh
usage: ./check-in.sh <since> <number-of-prs-merged>
$ ./check-in.sh 2020-09-03
usage: ./check-in.sh <since> <number-of-prs-merged>
help: you can find the number of PRs merged at https://github.com/rust-lang/rustc-dev-guide/pulls?q=is%3Apr+is%3Aclosed+updated%3A%3E2020-09-03
$ ./check-in.sh 2020-09-03 72
Authors:
- **@1c3t3a**
- **@arora-aman**
... snip ...
Changes:
- Replace links to `buildbot2.r-l.o` with `bors.r-l.o` [#929](https://github.com/rust-lang/rustc-dev-guide/pull/929)
- Add reference PRs for `r?` and `r+` comments [#928](https://github.com/rust-lang/rustc-dev-guide/pull/928)
... snip ...
Changes in progress:
```
2020-10-22 09:08:04 -04:00
Yuki Okushi
d26d3ea29e Add reference PRs for r? and r+ comments (#928) 2020-10-21 23:53:32 +02:00
Yuki Okushi
8f77e50061 Replace links to buildbot2.r-l.o with bors.r-l.o 2020-10-21 17:34:07 -04:00
Joshua Nelson
3867cc04d0 Revert "Remove outdated build rustdoc --stage 1"
This reverts commit cd35d2b5944d8436350b7f2f16f5e720d9912db6.
2020-10-19 23:17:17 -04:00
Ivan Tham
3491394b55 Remove outdated build rustdoc --stage 1
It builds with stage 1 by default.
2020-10-19 22:23:59 -04:00
Santiago Pastorino
0b76e4986f Fix typo errros -> errors 2020-10-19 14:11:19 -04:00
Nadrieril
70373f2135 Explain why exhaustiveness is necessary for soundness 2020-10-16 18:26:10 -04:00
Nadrieril
f1e6f2d3f9 Explain pattern exhaustiveness checking 2020-10-16 18:26:10 -04:00
Yuki Okushi
8263e7e082 Fix a link on git.md 2020-10-15 23:11:33 -04:00
1c3t3a
2de5d90041 Added description of word Scrutinee to the glossary (#921) 2020-10-13 01:57:18 +09:00
Camelid
9e9b8e3bc7 Mention you will need recent versions of mdbook* 2020-10-11 17:51:07 -04:00
Camelid
c49644b189 Use official mdbook-linkcheck version
We were using an alpha version before, pinned to a Git hash, so that we
could access a new feature (Michael-F-Bryan/mdbook-linkcheck#42).

Now there is a point release though (0.7.1), so we can update to that!
2020-10-11 17:51:07 -04:00
LeSeulArtichaut
7a5a10e203 Update installation instructions for mdbook-linkcheck 2020-10-10 12:39:19 -04:00
LeSeulArtichaut
885badd57a Apply suggestions from code review
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-10 12:12:44 -04:00
LeSeulArtichaut
9711293a29 Talk about git submodules 2020-10-10 12:12:44 -04:00
Joshua Nelson
ab08af36e1 Recommend debug-logging instead of debug
This makes the compiler faster to running without sacrificing too much
performance. It still shows logging so contributors aren't confused by
`debug!` doing nothing.
2020-10-08 16:15:06 -05:00
Who? Me?!
8fe84e6f5e Better error message
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-10-08 17:11:36 -04:00
Who? Me?!
ecc0b6daef Lol logic is hard
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
mark
e81601f62f add assert 2020-10-08 17:11:36 -04:00
Who? Me?!
325268f53e More debuggable bash settings
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
Who? Me?!
9675f13c71 Add comment referring to travis docs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08 17:11:36 -04:00
mark
fb32ba431a pin mdbook-linkcheck version 2020-10-08 17:11:36 -04:00
mark
c683cf928f linkcheck only for changed files except in cron jobs 2020-10-08 17:11:36 -04:00
Justus K
b3d8e18c23 Update more occurrences of system llvm link 2020-10-08 11:47:32 -04:00
Stu
5c3780119d Fix broken "system LLVM" link 2020-10-08 11:47:32 -04:00
mautamu
c59789573c Fix typos (#916)
Fixed two typos.
2020-10-08 16:19:56 +09:00
Cass
087c400663 Add section describing git hook functionality
This is a companion to [this PR](https://github.com/rust-lang/rust/pull/76356), which deals with including functionality for automatically running `tidy --bless` on each commit.

Undo editor auto-formatting and clarify git hook renaming

a word

Phrasing

Apply suggestions from code review

Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-07 22:30:24 -04:00
Joshua Nelson
aeb412f6a4 Document Assemble 2020-10-04 11:59:58 -04:00
LeSeulArtichaut
d66cdb10f4 Allow anyone to change the status of a PR 2020-10-04 10:27:58 -04:00
Joshua Nelson
32e07fe2bf Explain stages in terms of the compiler currently running (take N+1) (#857)
* Explain stages in terms of the compiler currently running

- Address some confusing points
  + stage N+1 -> stage N artifacts
  + Use more likely examples of an ABI break
  + stage N -> stage N compiler

- Mention why rustc occasionally uses `cfg(bootstrap)`
- Note that stage1 is built using two different versions

- Add lots of examples
  + `test src/test/ui` and `test compiler/rustc` run different compilers 😢
  + Separate examples of what to do from examples of what not to do

- 'ship stage 1 artifacts' -> 'ship stage 2 compiler'

  This is hopefully less confusing.

* build -> x.py build

* Add section on build artifacts

* Improve wording

Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>

* uplifted -> assembled

Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-04 16:25:02 +02:00
Who? Me?!
7d32ccbc6c Link to .md files, rather than .html
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-04 10:14:22 -04:00
mark
6c32b8ead2 address lingering reviewer comments 2020-10-04 10:14:22 -04:00
Gus Wynn
825b63b62b Apply suggestions from code review
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-04 10:14:22 -04:00
Gus Wynn
512900ee69 add note 2020-10-04 10:14:22 -04:00
Gus Wynn
939210d3ec add suggested workflow to setup nightly rustup for rustc 2020-10-04 10:14:22 -04:00
Julian Wollersberger
ef29de5301 Did more measurements on what exactly affects llvm-lines:
optimize, codegen-units and mir-opt do, but debug-assertions doesn't.
2020-10-04 10:12:47 -04:00
Julian Wollersberger
194af2b992 Document the usage of cargo-llvm-lines and -Ztimings. 2020-10-04 10:12:47 -04:00
Aleksey Kladov
eb1c1fa27e Document new way to not build LLVM
Implemented in https://github.com/rust-lang/rust/pull/76349
2020-10-03 20:39:32 -04:00
Santiago Pastorino
3bbc7f387b hir_map -> hir() 2020-10-03 19:38:38 -05:00
LeSeulArtichaut
e7c8adc14d Fix time periods for Triage WG procedure 2020-10-03 19:25:05 -05:00
Tshepang Lekhonkhobe
9180ec2139 Update src/getting-started.md
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-03 19:25:05 -05:00
Tshepang Lekhonkhobe
d380f2ea09 Update src/getting-started.md
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-03 19:25:05 -05:00
LeSeulArtichaut
86b81f478b Add a paragraph about reviewers and review latency in Getting Started chapter 2020-10-03 19:25:05 -05:00
Camelid
0eaa94c090 Use HTTPS whenever possible in bibliography links (#909)
Also updated a few links that redirected.
2020-10-03 22:56:29 +02:00