Commit graph

1409 commits

Author SHA1 Message Date
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
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