Commit Graph

1073 Commits

Author SHA1 Message Date
Tom Eccles a6bace14e4 Document remote testing 2020-05-29 13:27:03 -05:00
LeSeulArtichaut 55c92daeb6
Document `RUSTFLAGS_STAGE_` bootstrap environment variables (#728)
* Document `RUSTFLAGS_STAGE_`

* Fix typos

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-30 01:20:24 +09:00
Chris Simpkins c9850bb7d2 Update src/tests/adding.md
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-28 19:57:59 -05:00
Chris Simpkins 8ca0464e65 add documentation of UI test error annotation substring support 2020-05-28 19:57:59 -05:00
Chris Simpkins 6a54bc6dab
Expand error annotations section with examples (#724)
* expand error annotations section with examples

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-29 02:43:22 +09:00
Eric Huss d7067f19d2 Clarify lint vs fixed diagnostic. 2020-05-27 20:33:46 -05:00
Eric Huss 4d94eb902e Updates from review. 2020-05-27 20:33:46 -05:00
Eric Huss 1e8a467bc2 Apply suggestions from code review
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-27 20:33:46 -05:00
Eric Huss 39edbe59ed Add some guidelines on diagnostics. 2020-05-27 20:33:46 -05:00
LeSeulArtichaut aca2a716ea Apply suggestions from code review
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-27 15:17:33 -05:00
LeSeulArtichaut 54d64bd8ac Fix typo
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-27 15:17:33 -05:00
LeSeulArtichaut 8bb723c673 Add definition of `niche` to the glossary 2020-05-27 15:17:33 -05:00
Eric Huss 6e2b70c9df Move CLI to part 3. 2020-05-27 12:35:13 -05:00
Eric Huss ba1a8dfd35 Apply suggestions from code review
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-27 12:35:13 -05:00
Eric Huss fe96650d1a Add some guidelines on the CLI. 2020-05-27 12:35:13 -05:00
Michael Bryan 6d5e0740f5
It looks like the high-level-overview was renamed (#721) 2020-05-28 00:04:56 +09:00
LeSeulArtichaut 4295e7b578
Add section for debugging rustc type layouts (#720) 2020-05-27 14:17:39 +02:00
Yuki Okushi f53fc666ea Rename `upvars` query to `upvars_mentioned` 2020-05-26 11:05:21 -05:00
Yuki Okushi c2561c4351
Update docs related to const-eval/Miri (#676)
* Update docs related to const-eval

Co-authored-by: Ralf Jung <post@ralfj.de>
2020-05-25 17:23:15 +09:00
Adam Perry d10f70b005
Extern blocks are allowed for #[track_caller] now. (#710)
since https://github.com/rust-lang/rust/pull/70916
2020-05-23 22:40:23 +02:00
Paul Daniel Faria 59c9fa7b3e
Fix BodyId link typo in glossary (#709)
* Fix BodyId link typo in glossary

* Fix broken link to rustc_middle's Predicate
2020-05-23 16:25:53 -04:00
Chris Simpkins 266ab6e3a9
typo fix (#706) 2020-05-19 11:30:27 +09:00
Jade McGough 7fb45e52e9
Add missing closing paren (#705) 2020-05-16 21:19:52 -04:00
Tshepang Lekhonkhobe 8e126df6fe Update src/appendix/glossary.md
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-05-11 23:52:00 +02:00
Tshepang Lekhonkhobe d7649f4b44 glossary: make soundness definition more readable 2020-05-11 23:52:00 +02:00
Who? Me?! 95420468b9
fix links (#702) 2020-05-11 16:51:33 -03:00
Tshepang Lekhonkhobe 1caba74063
glossary: intro feels like not adding much (#699) 2020-05-11 07:57:46 +02:00
Who? Me?! c386ec3d1a Fix typo 2020-05-08 12:02:56 -05:00
Who? Me?! b6d140f789 Typo
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
mark d1bb132780 add some section headers 2020-05-08 09:42:27 -05:00
mark 1f6d127a70 move discussion of eager expansion to the end 2020-05-08 09:42:27 -05:00
Who? Me?! 9c7befcdd8 Use full path of span
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
Who? Me?! 2d639a3696 Typos
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-05-08 09:42:27 -05:00
mark 7e916519ed fix some links 2020-05-08 09:42:27 -05:00
mark 5dedd70447 fix line length 2020-05-08 09:42:27 -05:00
mark bc9c0e6c35 SPRINKLE ALL THE THINGS 2020-05-08 09:42:27 -05:00
mark a1cf766577 sprinkle around a bunch of links 2020-05-08 09:42:27 -05:00
mark f05ff9c30d expand notes on expansion heirarchies 2020-05-08 09:42:27 -05:00
mark ba8620f34a add a bit more info about eager exp 2020-05-08 09:42:27 -05:00
mark e8f918c0ba expand some notes about expansion :P 2020-05-08 09:42:27 -05:00
mark 0980ebf2c6 reorganize the macro expansion chapter 2020-05-08 09:42:27 -05:00
mark 3f23b32c63 add note about macros in parser chapter 2020-05-08 09:42:27 -05:00
mark d62ed17895 reorder some chapters 2020-05-08 09:42:27 -05:00
mark 6ee323dce3 add a bit to syntax intro 2020-05-08 09:42:27 -05:00
mark 5d0cdc814a add a bit to part 3 intro 2020-05-08 09:42:27 -05:00
mark b8935a916b get rid of old todo 2020-05-08 09:42:27 -05:00
mark 984d5a8b4d finish going through discussion 2020-05-08 09:42:27 -05:00
mark ff2f232772 more notetaking 2020-05-08 09:42:27 -05:00
mark 8bbe1ff044 start working through discussion 2020-05-08 09:42:27 -05:00
mark ee0059a6e2 some cleanup in the macros chapter 2020-05-08 09:42:27 -05:00
George Fraser 0a3ac2d34f Reference complete examples 2020-05-07 17:30:27 -05:00
George Fraser 718047c647 Line length 2020-05-07 17:30:27 -05:00
George Fraser 7f394a5579 Example of getting diagnostics 2020-05-07 17:30:27 -05:00
Hanif Ariffin 6f79c282d8
Added link to the `ty::Adt` (#696)
* Added link to the `ty::Adt`

* Formatting fixes

Thanks @JohnTitor

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-07 23:44:39 +09:00
Who? Me?! e1736cc9d0 typo
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-06 17:03:52 -05:00
mark 32f3330167 add a bit more on parallel compilation 2020-05-06 17:03:52 -05:00
Bastian Kauschke a8bb0c17f3 Fix example for winnowing 2020-05-02 21:23:21 -05:00
Tshepang Lekhonkhobe 98e94be044 improve info regarding incremental a little 2020-05-01 09:18:42 -05:00
Tshepang Lekhonkhobe 03282ca486 I confirmed this 2020-05-01 09:17:27 -05:00
Who? Me?! 26e0ae52dd tidy 2020-04-30 21:25:29 -05:00
Hanif Ariffin 1b9f80cc40 Update src/queries/incremental-compilation.md
Removed `at`.

Co-authored-by: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-30 21:25:29 -05:00
Hanif Ariffin c0ad843003 Hide link behind a clickable text
It currently does not appear as a clickable link here https://rustc-dev-guide.rust-lang.org/queries/incremental-compilation.html
Additionally, this is a particularly long and nasty link.
2020-04-30 21:25:29 -05:00
Hanif Ariffin 0b32573dd7 Minute formatting fix 2020-04-30 21:25:17 -05:00
Santiago Pastorino 622be10b7b
It's just ICE-breaker (#685) 2020-04-28 21:19:37 +02:00
Santiago Pastorino 36a06c0f25 Remove extra the 2020-04-27 15:45:00 -05:00
Santiago Pastorino 159cb7e700 Fix sub-diagnostic typo 2020-04-27 15:45:00 -05:00
Who? Me?! f57f25dc45
remove info about diag ice breakers; doesn't exist yet (#682) 2020-04-25 16:23:59 -03:00
Charles Lew bdf565dba6 Address review comments.
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-25 06:57:48 -05:00
Charles Lew 9d9eb150de Fix links. 2020-04-25 06:57:48 -05:00
Charles Lew d79227e453 Address review comments. 2020-04-25 06:57:48 -05:00
Charles Lew cbbe9b423f Fix links and CI error. 2020-04-25 06:57:48 -05:00
Charles Lew d596ab2bee Remove details about chalk and point to Chalk Book instead. 2020-04-25 06:57:48 -05:00
Santiago Pastorino 1398a6fe9d treat-err-as-bug=n means panic on nth error 2020-04-24 13:48:01 -05:00
Bastian Kauschke cbd8d437da
Replace `rustc` with `rustc_middle` (#680) 2020-04-20 15:16:27 +02:00
Who? Me?! a450260a5f Typo 2020-04-19 13:08:39 -05:00
Esteban Küber 0ecf993367 review comments: move text to more relevant section 2020-04-19 13:08:39 -05:00
Esteban Küber 5d0f59959b Add diagnostics ICE-breakers page 2020-04-19 13:08:39 -05:00
Santiago Pastorino 0daa3f7053
Fix typo (#678) 2020-04-19 17:54:45 +02:00
Yuki Okushi 695e58d5ec Apply suggestions from Zoxc 2020-04-18 20:58:14 -05:00
Michael Woerister 2154b85ca4 Apply feedback. 2020-04-18 20:58:14 -05:00
Michael Woerister 4840ad250b Add documentation about incr. comp. query attributes and the projection query pattern. 2020-04-18 20:58:14 -05:00
Who? Me?! bc5445760e
Fix some whitespace (#677) 2020-04-19 01:40:16 +09:00
Yuki Okushi e927db936f Apply suggestions from code review
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
2020-04-18 11:11:33 -05:00
mark 96e912e6a6 add link to intrinsic 2020-04-18 11:11:33 -05:00
Who? Me?! 8046502e80 Remove various todos
With some items added to https://github.com/rust-lang/rustc-dev-guide/issues/674

Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
2020-04-18 11:11:33 -05:00
mark a578fc11c5 line length 2020-04-18 11:11:33 -05:00
Chris Simpkins 5090bb8d0f [overview.md] add lexer updates, parser updates
includes feedback from matklad (lexer) and centril (parser)
2020-04-18 11:11:33 -05:00
Chris Simpkins 4eadacdf29 [overview.md] add initial parser documentation 2020-04-18 11:11:33 -05:00
mark 68a9c1f605 fix links 2020-04-18 11:11:33 -05:00
mark ae4e472959 add intrinsics to glossary 2020-04-18 11:11:33 -05:00
mark dc88fe372e minor wording change on bootstrapping 2020-04-18 11:11:33 -05:00
mark c3f9d0810f update mono entry points 2020-04-18 11:11:33 -05:00
Chris Simpkins 9bf8f9ed16 [overview.md] add documentation of lexer support for Unicode encoding 2020-04-18 11:11:33 -05:00
mark 8eeada5768 correct entry points for codegen 2020-04-18 11:11:33 -05:00
mark 52bc0f6350 some cleanup 2020-04-18 11:11:33 -05:00
mark 2ff2f56041 add entry points for type check and type inference
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
mark 2f7a6b1a62 add a para on interning and arenas 2020-04-18 11:11:33 -05:00
Chris Simpkins cf14e7aa42 [overview.md] add parser entry point links 2020-04-18 11:11:33 -05:00
mark 5afed5f5ad fix lexer entry point 2020-04-18 11:11:33 -05:00
Who? Me?! 7a58fdc10c Improve wording
Co-Authored-By: Santiago Pastorino <spastorino@gmail.com>
2020-04-18 11:11:33 -05:00
mark 0d0611b7d9 add an entry point 2020-04-18 11:11:33 -05:00
mark 55e7d6d1ed remove a todo 2020-04-18 11:11:33 -05:00
mark fe38e8a9de fix links 2020-04-18 11:11:33 -05:00
mark beb654898f line lengths 2020-04-18 11:11:33 -05:00
mark 443e47cb1f add a few todos 2020-04-18 11:11:33 -05:00
mark 31ae8b8b07 write a bit about bootstrapping 2020-04-18 11:11:33 -05:00
mark e154e2684d add a note on tcx name 2020-04-18 11:11:33 -05:00
mark 6cdb777909 break long sentence 2020-04-18 11:11:33 -05:00
mark cc3fb247dd Improve description of MIR
Co-Authored-By: Centril <twingoow@gmail.com>
2020-04-18 11:11:33 -05:00
mark 2d81262bc0 correct the note about HAIR 2020-04-18 11:11:33 -05:00
mark cc6b013460 mention token stream as an IR 2020-04-18 11:11:33 -05:00
mark 4c50a79b08 mention the hair 2020-04-18 11:11:33 -05:00
mark cb68eca0c1 Add some entry points
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
mark 9fd274d967 fix old rustc-dev-guide links 2020-04-18 11:11:33 -05:00
Chris Simpkins 10d6839434 Update src/overview.md
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
Chris Simpkins df51d81272 Update src/overview.md
Co-Authored-By: LeSeulArtichaut <leseulartichaut@gmail.com>
2020-04-18 11:11:33 -05:00
Chris Simpkins 0783019c12 [overview.md] Add command line argument parsing, lexer stages, and parser outline 2020-04-18 11:11:33 -05:00
mark a43ef4d3b3 Apply Centril suggestions
Co-Authored-By: Centril <twingoow@gmail.com>
2020-04-18 11:11:33 -05:00
mark 62e6bd0131 correct a few links 2020-04-18 11:11:33 -05:00
mark fe12e05523 add overview 2020-04-18 11:11:33 -05:00
Jan-Erik Rediger d7b4c7e899
Start with the basics (#675)
* The very first step should be to clone the repository

* Make the command copy-able

By having the plain command users can select and copy the text and paste
it, without needing to fiddle around to remove extra characters.

Now that the previous command switched directories it is not necessary
to be called out here again either.

* Update src/building/how-to-build-and-run.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-04-17 21:16:56 +09:00
Ralf Jung f9b673309f
codegen tests: add link to LLVM FileCheck docs (#673) 2020-04-12 02:34:25 +09:00
Arlo Siemsen b315ce5219 Add section describing source file checksums in debug info 2020-04-08 15:50:31 -05:00
Who? Me?! 7adfab42ba
fix a link (#672) 2020-04-08 08:52:05 +02:00
Chris Simpkins 826eddfbcc mark-i-m review edits 2020-04-07 12:11:56 -05:00
Chris Simpkins 2e90d88241 consistent section title casing 2020-04-07 12:11:56 -05:00
Chris Simpkins daa1d91013 update about-this-guide.md with new Guide sections 2020-04-07 12:11:56 -05:00
Who? Me?! 269b5f08e7
Reorganize the guide (#651)
* start on guide reorg

* backend intro

* part 2, 3, 4 intros

* some missing files

* Fix typos

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>

* add links from intro

* rename compiler source chapter and add placeholder for overview

* rename parts, mv rustc_driver to part 3, make syntax chapter

* update part intros

* add syntax ch intro

* address review comments

* Better overview chapter placeholder

Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>

* fix link

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-04-06 13:23:34 -03:00
Paul Daniel Faria c33f0c6158 Remove duplicate trait reference entry from glossary, fix alphabetical sorting 2020-04-06 10:41:28 -05:00
LeSeulArtichaut af75c1001a Rework commit message 2020-04-05 12:49:29 -05:00
LeSeulArtichaut 255bf3cf35 Note that the invocation now are aliases 2020-04-05 12:49:29 -05:00
LeSeulArtichaut fabea21d80 Change ICE-breaker ping to use the aliases
Related to rust-lang/rust#69949
2020-04-05 12:49:29 -05:00
Paul Daniel Faria 0833cdbcd8 Wrap link in borrow_check.md to satify line length checks 2020-04-05 12:46:22 -05:00
Paul Daniel Faria 6e91f8d0e9 Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md 2020-04-05 12:46:22 -05:00
Tshepang Lekhonkhobe 14a08a3663 remove stupid-stats, and some references to removed API 2020-04-04 13:36:17 -05:00
Tshepang Lekhonkhobe e89d981d41
add pre-requisite for calling into compiler API (#663) 2020-04-04 09:37:39 +02:00
Paul Daniel Faria e1301ac847
Add BodyId to glossary, and links for ids to HIR identifiers section (#660) 2020-04-03 19:22:08 +02:00
Santiago Pastorino 27269235d3
Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
Who? Me?! 8a1879a279 Shorten line 2020-04-01 20:09:08 -05:00
George Fraser d3cca657f3 Update src/SUMMARY.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01 20:09:08 -05:00
George Fraser c27285e707 Update src/rustc-driver-interacting-with-the-ast.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-04-01 20:09:08 -05:00
George Fraser aee609b57e How to get the type of an expression using rustc_interface 2020-04-01 20:09:08 -05:00
Santiago Pastorino f212f322fb
Remove left overs from HackMD migration (#655) 2020-04-01 16:25:14 +02:00
Tshepang Lekhonkhobe 610d8e89d6
Resolver trait moved (#652) 2020-04-01 11:04:45 +02:00
Tshepang Lekhonkhobe 498f7bd279
add link for Resolver::resolve_crate (#653) 2020-04-01 10:57:35 +02:00
Tshepang Lekhonkhobe af7286d2c8
add some type inference links, and fix/improve some stuff (#654) 2020-04-01 10:52:31 +02:00
Tshepang Lekhonkhobe e2c733c481 it is rustc_parse, not rustc_parser 2020-03-31 22:17:35 -05:00
Tshepang Lekhonkhobe d3f1ef2a87 follow 4-space indent idiom 2020-03-31 22:17:15 -05:00
Tshepang Lekhonkhobe ce08bcc1e6 point to new Cranelift home 2020-03-31 21:35:36 -05:00
Adam Perry f38f17c9d7 fix broken links 2020-03-31 21:34:55 -05:00