Commit graph

1430 commits

Author SHA1 Message Date
mark
cb2ea72e78 fix a couple links 2020-12-03 00:06:19 -05:00
mark
5da3f64992 exclude play.rlo from linkchecks 2020-12-03 00:06:19 -05:00
jumbatm
9d576c9ef1 Use shorter [][]-style link to not pass 100 chars. 2020-12-02 22:34:16 -06:00
jumbatm
b2eb38e362 Apply suggestions from review.
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-12-02 22:34:16 -06:00
jumbatm
ca6075eb90 Document SessionDiagnostic 2020-12-02 22:34:16 -06:00
Camelid
c5545f8dd9 Use shorter 'rustbot label' command
'rustbot modify labels: ...' -> 'rustbot label ...'
2020-12-01 13:56:48 -05:00
Joshua Nelson
0cf6b13c54 Move the bootstrapping section later in the guide (#975)
Now that `x.py build` works in most cases, I don't think we need to
teach people all the intricacies of bootstrap right away. This moves it
to the 'overview of the compiler' section instead.
2020-11-30 20:08:17 -03:00
Ben Striegel
7aadeecb5e Address feedback 2020-11-30 18:06:43 -05:00
Ben Striegel
3ae060dbfc Add notes about running the UI test suite 2020-11-30 18:06:43 -05:00
Joshua Nelson
76ac4633fe Improve contributor experience for the dev-guide itself (#973)
- Fix typos in the README
- Don't echo all instructions in the linkcheck.sh shellscript; this is
  noisy and unhelpful when developing locally. Verbose output is still
  enabled in CI.
- Link to the index page for compiler docs, not `rustc_middle`. Note
  that the compiler docs are not a guide - that's us!
- Remove outdated instructions about avoiding 429s. These should no
  longer be occurring locally now that we're using caching.
- Consolidate info about `mdbook` and `mdbook-linkcheck` near each other
2020-11-30 11:08:32 -03:00
Joshua Nelson
9c0ed53e94 Document what 'sysroot' means 2020-11-29 20:02:55 -05:00
Joshua Nelson
004d030e52 Don't imply that the name of the fork always needs to be changed 2020-11-29 10:42:20 -05:00
Joshua Nelson
2b511d9e0d Add information about common git issues 2020-11-29 10:42:20 -05:00
Hirochika Matsumoto
a58c08ef1b Fix a typo 2020-11-28 14:09:03 -05:00
Camelid
b417b9ed30 Link to feature-stabilization docs 2020-11-26 20:43:36 -05:00
Camelid
9d811ab837 Move instructions for adding a feature gate to "Feature Gates" 2020-11-26 20:43:36 -05:00
Camelid
7481767384 Document how to modify feature gates
How to remove them and how to rename them.

cc <https://github.com/rust-lang/rust/pull/79336#discussion_r528627318>
cc @varkor
2020-11-26 20:43:36 -05:00
Camelid
4340f6dc8b Document when errors should have an associated error code (#967)
Document when errors should have an associated error code
2020-11-24 17:09:59 -08:00
Gabriel de Perthuis
baf801c294 Update bootstrap documentation with the new envvars for RUSTFLAGS
This follows <https://github.com/rust-lang/rust/pull/63722>.
2020-11-24 09:06:33 -05:00
mark
8055279209 don't use cache while running PR builds 2020-11-23 18:42:24 -05:00
Camelid
36fb53e984 Update param_env link
`rustc_ty` was recently [renamed] to `rustc_ty_utils`, so this link has
to be updated.

[renamed]: f59d03038c
2020-11-23 18:40:46 -05:00
cjkenn
157db48097 add small explanation of why fuel can be useful for debugging 2020-11-22 08:43:00 -05:00
cjkenn
462fd32ac3 add mir-opt section for optimization fuel 2020-11-22 08:43:00 -05:00
Tobias
680c1317e6 updated link for Citizen Code of Conduct (#959)
* remove the code of conduct; instead link to https://www.rust-lang.org/conduct.html
2020-11-16 12:38:14 -05:00
hosseind88
56d55dda66 add string interning wikipedia link (#960) 2020-11-15 12:14:06 -05:00
Camelid
6eafb25a51 Provide a brief example of a data-flow analysis 2020-11-12 11:53:00 -05:00
Camelid
671e815240 Explain the purpose of the bottom value 2020-11-12 11:53:00 -05:00
Camelid
8b427d53d3 Add a section on data-flow convergence 2020-11-12 11:53:00 -05:00
Alexis Bourget
d268f49850 Links to htmldocck/@has/matches for searchability 2020-11-11 19:02:37 -05:00
Olivier FAURE
c52906f46d Update src/compiler-debugging.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-11 10:39:15 -05:00
Olivier FAURE
a179f33191 Update link in compiler-debugging.md
Link didn't point to latest version of `env_logger` crate.

Add an explanation to disambiguate the RUSTC_LOG syntax.
2020-11-11 10:39:15 -05:00
Joshua Nelson
ad2ef2af6b Add some more examples of using the compiler 2020-11-10 20:02:56 -05:00
Casey Rodarmor
2638846c49 Update src/building/how-to-build-and-run.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-09 09:07:41 +02:00
Casey Rodarmor
6b132a0494 Fix install command 2020-11-09 09:07:41 +02:00
Casey Rodarmor
9c0b661c49 Document src/tools/x, an x.py wrapper
Document the newly added `x` binary that wraps `x.py`, which can be
installed system-wide, and can be run from any subdirectory of a rust
repo checkout.
2020-11-09 09:07:41 +02:00
Joshua Nitschke
6e9d316e14 correct minor grammar mistake (#944)
correct `a lots to `a lot` on implementing_new_features.md
2020-11-08 19:15:22 +01:00
Yuki Okushi
4723ff1be4 Use provide_both link instead of provide(_extern) 2020-11-06 19:18:15 -06:00
Camelid
8178320c27 Use new-style mdBook internal links in glossary 2020-10-28 18:33:30 -04:00
Camelid
361333ab24 Put TyCtxt at the right position
It should now be at its alphabetical position.

Also fixed link to `TyCtxt` anchor.
2020-10-28 18:33:30 -04:00
Camelid
985668662c Fix broken tags in glossary 2020-10-28 18:33:30 -04:00
Santiago Pastorino
b6c5a153bf Small improvements (#936)
* Fix typo errros -> errors

* an -> a

* hir -> hir()
2020-10-27 19:34:28 +01:00
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