Commit graph

1269 commits

Author SHA1 Message Date
LeSeulArtichaut
b89337828e Apply suggestions from code review
Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
2020-09-14 17:42:19 -05:00
LeSeulArtichaut
03eaf2a306 Add a chapter on all the identifiers used through rustc 2020-09-14 17:42:19 -05:00
Dylan MacKenzie
153e35ff27 Update Visitor and Cursor examples 2020-09-13 15:58:02 -04:00
Dylan MacKenzie
c6e556591e Line edits 2020-09-13 15:58:02 -04:00
Dylan MacKenzie
f75d4b1eb9 Add missing link to Engine 2020-09-13 15:58:02 -04:00
Dylan MacKenzie
f9d3b7f4db Initial draft of MIR dataflow framework docs 2020-09-13 15:58:02 -04:00
Monadic Cat
435040d125 correct attribute used here 2020-09-12 18:41:06 -04:00
Joshua Nelson
fde149364d Address nits 2020-09-12 13:12:14 -05:00
Joshua Nelson
27d5948e40 Note that the default is 2015 2020-09-12 13:12:14 -05:00
Joshua Nelson
cae32c9e59 Document edition flag for UI tests 2020-09-12 13:12:14 -05:00
LeSeulArtichaut
90f6ed4b82 Fix typo 2020-09-12 12:07:04 -04:00
LeSeulArtichaut
5baa430ffe Hide @rustdoc implementation details 2020-09-12 12:07:04 -04:00
LeSeulArtichaut
293aad5081 Apply suggestions from code review
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-12 12:07:04 -04:00
Tshepang Lekhonkhobe
2961c91f12 Update src/rustbot.md 2020-09-12 12:07:04 -04:00
Tshepang Lekhonkhobe
9b1cee6911 Update src/rustbot.md 2020-09-12 12:07:04 -04:00
Tshepang Lekhonkhobe
d6f629822d Update src/contributing.md
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-09-12 12:07:04 -04:00
Tshepang Lekhonkhobe
a28c6a4c86 Update src/contributing.md 2020-09-12 12:07:04 -04:00
LeSeulArtichaut
87b9d337b9 Add a chapter on useful @rustbot commands 2020-09-12 12:07:04 -04:00
Gus Wynn
453611df6f Improve link and description of entry points in parser section (#876)
This seemed to be out of date!
2020-09-12 08:49:05 +09:00
LeSeulArtichaut
7ccdf4c015 Fix typo
Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
2020-09-11 13:42:39 +02:00
LeSeulArtichaut
f9e705071e Apply suggestions from code review
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-11 13:42:39 +02:00
LeSeulArtichaut
531b8d5d50 Clean up 'Contributing to Rust - Pull Requests' 2020-09-11 13:42:39 +02:00
Joshua Nelson
69299dc069 Fix other library commands 2020-09-10 23:56:41 -04:00
Joshua Nelson
917a1a0658 Fix incorrect docs about stages
`build library/core` builds the compiler, not just the standard library.
2020-09-10 23:56:41 -04:00
Camelid
81b8c1b555 Add back information about Googling
Also cleaned up some other things.
2020-09-09 22:58:18 -04:00
Camelid
a5649c0318 Add back comma
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-09 22:58:18 -04:00
Camelid
390716c873 Add more info about Rustdoc 2020-09-09 22:58:18 -04:00
Camelid
8ad13b0c88 Update "Helpful Links" section 2020-09-09 22:58:18 -04:00
Joshua Nelson
6331ffdbcd Use imprecise times, because the time to build depends on your computer
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-09-09 20:58:30 -04:00
Camelid
3e02cacb22 Minor cleanup for "How to build and run" 2020-09-09 20:58:30 -04:00
Rich Kadel
2aa10fa52c broken intra-page link from spanview to graphviz
Just noticed the link was not correct. Fixed here.
2020-09-09 19:01:14 -04:00
Joshua Nelson
fc36c660b9 Fix nit 2020-09-09 21:39:55 +02:00
Tshepang Lekhonkhobe
94e1af9bb3 Update src/building/new-target.md 2020-09-09 21:39:55 +02:00
Joshua Nelson
cbdf90fd57 Document how to promote a target from cross-compiled to hosted 2020-09-09 21:39:55 +02:00
Santiago Pastorino
447654ef9e Update src/queries/profiling.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-09 12:30:56 -04:00
Santiago Pastorino
5ddb5ca186 Update def_id.rs location 2020-09-09 12:30:56 -04:00
Santiago Pastorino
176fd1015a Fix typo, hellow -> hello 2020-09-09 12:30:56 -04:00
Santiago Pastorino
f7bf37a53f Add ./ to run x.py 2020-09-09 12:30:56 -04:00
Joshua Nelson
3bbe9b8fa1 Update prerequisites, with an eye towards windows (#863)
* Update prerequisites, with an eye towards windows

* Address review comments

- Say version of MSVC needed
- Link to more details windows section
- Fix grammar
2020-09-09 16:24:01 +00:00
Joshua Nelson
4373430365 Fix broken hyperlink (#862)
* Fix broken hyperlink

* Link to previous pages instead of skipping ahead

* Fix line lengths
2020-09-09 16:22:56 +00:00
Joshua Nelson
0bb78aaad6 Add information about default stages for x.py 2020-09-09 11:05:26 -04:00
Joshua Nelson
09a931a4aa Fix typo 2020-09-09 16:58:05 +02:00
Joshua Nelson
7b9ad6b4b7 Document speculative crate loading (#859) 2020-09-09 10:19:01 +03:00
Joshua Nelson
a41c911218 Update error codes to match the current implementation
- All codes are in one crate, `rustc_error_codes`
- Extended descriptions are loaded using `include_str!`
- Give an example of a PR adding an error code
2020-09-08 13:59:34 +02:00
Joshua Nelson
f183ea18f1 Consolidate information about bootstrapping into one place (#851)
Previously, 'How to build and run' had a long section on the different
stages of boostrap. But new contributors aren't interested in bootstrap;
they want to start their build (because they heard it takes forever and
want to start it so they aren't waiting more than necessary).

This moves the section on stages into the bootstrapping page, and links
there instead of discussing it on the main page.
2020-09-07 15:25:11 +00:00
Aman Arora
444512da34 Document CGU partioning in case of generic and inline functions 2020-09-07 10:07:40 -04:00
Tshepang Lekhonkhobe
1bb94b708e Update src/building/how-to-build-and-run.md 2020-09-07 08:55:08 -04:00
Joshua Nelson
26d3f1fb5c Link to 'prerequisites' immediately
Several of the commands on 'how to build' use python.
But we haven't yet told the user how to install it!
Do that first before going into detail on how x.py works.
2020-09-07 08:55:08 -04:00
Ivan Tham
e381ca3f2c Rename src/rustc to compiler/rustc 2020-09-06 16:21:08 +02:00
Gus Wynn
6500603ef1 update docs to refer to the move 2020-09-03 19:25:02 -04:00