Commit Graph

1299 Commits

Author SHA1 Message Date
mark b5e41a5e0c mention incremental disk space 2020-06-18 12:16:00 -05:00
mark 73d88a1385 a couple more small changes 2020-06-18 12:16:00 -05:00
mark d255b4a0cb some minor updates 2020-06-18 12:16:00 -05:00
mark ba2d73db5f write about processes 2020-06-18 12:16:00 -05:00
mark c5c498ca19 address some review comments 2020-06-18 12:16:00 -05:00
Who? Me?! 324eb69950 Typo fixes
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-06-18 12:16:00 -05:00
mark 8fbc9f5241 start a getting started guide 2020-06-18 12:16:00 -05:00
Eric Huss 708acbc72b
Add a link to the forge procedure on adding new options. (#754) 2020-06-18 10:33:15 +02:00
Joshua Nelson 163efc6fcd Don't give `x.py clean` as the first x.py example
This command shouldn't be used very often, and it has its own whole
section below anyway.
2020-06-18 04:41:59 +02:00
Joshua Nelson 178e3052b2 Document rustdoc behavior
- `RUSTDOC_LOG`
- `// aux-build:filename.rs`
- `// build-aux-docs`
2020-06-17 09:24:41 -05:00
Eric Huss 4228f46777 Add some more detail on compiletest normalization. 2020-06-16 23:14:05 -05:00
Ralf Jung 5371f13236
tag/niche terminology (#747) 2020-06-11 12:38:42 +02:00
LeSeulArtichaut 3b1866b1ea
Clean up the paragraph about aliases for pinging the notification groups (#743)
* Clean up the paragraph about aliases for pinging the notification groups

* Add windows and arm command invocations

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2020-06-10 18:04:19 -04:00
LeSeulArtichaut e647444811
Include "Lint" in the title of the diagnostics chapter (#742) 2020-06-10 15:19:59 -03:00
Niko Matsakis 1a229d6d60 complete the ICE-breaker => notification group rename 2020-06-09 18:03:33 -05:00
Niko Matsakis 089b82651d
add the ARM notification group (#740) 2020-06-09 23:58:22 +02:00
Niko Matsakis e349f81b22
Rebrand ICE-breakers, introduce Windows notification group (#739)
* rename ice-breakers to the more general notification-group

also less confusing

* add windows notification group

* rebrand LLVM ICE-breakers as a "notification group"

* include the link to example windows PR
2020-06-09 16:42:00 -03:00
Tomasz Miąsko 42520d3ca8 Document needs-* compiletest directives 2020-06-08 12:33:35 -05:00
Who? Me?! caac584a9e
Add a bit about various type system concepts (#697)
* add a bit on dataflow analysis

* add a bit on quanitification

* add a bit on debruijn index

* add a bit on early and late bound params

* add missing link

* Typos

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>

* clarify dataflow example

* fix formatting

* fix typos

* Typos

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>

* fix errors in background

* remove dup material and make early/late intro short

* adjust intro

* Niko's intro

Co-authored-by: Niko Matsakis <niko@alum.mit.edu>

Co-authored-by: Tshepang Lekhonkhobe <tshepang@gmail.com>
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2020-06-05 13:11:09 -03:00
Bastian Kauschke 8a9a1f935f
update conventions (#735)
* update conventions

* typo

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2020-06-05 13:06:39 -03:00
Bastian Kauschke 8c8130ed2d braces 2020-06-05 10:34:56 -05:00
Bastian Kauschke 8f2e466f3c words 2020-06-05 10:33:15 -05:00
Who? Me?! 7119767f69
Fix link (#734) 2020-06-05 17:10:01 +02:00
LeSeulArtichaut 2c2fb3f05f
Add more info on useful workflows (#727)
* Add more info on useful workflows

* Apply suggestions from code review

Co-authored-by: mark-i-m <mark-i-m@users.noreply.github.com>
Co-authored-by: spastorino <spastorino@gmail.com>

Co-authored-by: mark-i-m <mark-i-m@users.noreply.github.com>
Co-authored-by: spastorino <spastorino@gmail.com>
2020-06-03 22:46:04 +02:00
Yuki Okushi b381598b3f
Update lint declaration example (#713) 2020-05-30 08:49:25 +09:00
Tom Eccles 8a5438b4b1 Document more //ignore-X test headers 2020-05-29 13:27:03 -05:00
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
Adam Perry 20fe7df2aa Implicit Caller Location section. 2020-03-31 21:34:55 -05:00
mark 595f2f386c and a few more links 2020-03-31 15:43:14 -05:00
mark 518da21a47 fix a few more links 2020-03-31 15:43:14 -05:00
Tshepang Lekhonkhobe 6b25ed2753 QueryDescription has moved 2020-03-31 15:43:14 -05:00
LeSeulArtichaut 83cd94ed2b Rename `librustc` to `librustc_middle` 2020-03-31 15:43:14 -05:00
ecstatic-morse 10ad00edc2 Update reference to `has_any_child_of` in docs
This function was obsoleted by `find_in_move_path_or_its_descendants`.
2020-03-31 15:43:14 -05:00
Tshepang Lekhonkhobe 3cc54f2194
glossary: misc improvements (#638) 2020-03-28 21:29:57 +02:00
Alex Aktsipetrov 3d3c26143f
Fix typo (#635)
* Typo

* Update src/queries/query-evaluation-model-in-detail.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-27 19:42:53 +09:00
Michael Woerister 6b441177f3 Update description of incremental compilation. 2020-03-26 15:50:51 -05:00
Alex Aktsipetrov ed2ad0eccb Update high-level-overview.md
Remove an obsolete clarification about libsyntax and co.
2020-03-25 14:46:29 -05:00
Chris Simpkins ff0e4f098d minor grammar edit 2020-03-22 19:27:23 -05:00
Chris Simpkins cc7b8e9099 change title
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-03-22 19:27:23 -05:00
Chris Simpkins 5a9d784d9e Update src/licenses.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-03-22 19:27:23 -05:00
Chris Simpkins d1cd418908 add rust-lang/rust license documentation 2020-03-22 19:27:23 -05:00
Chris Simpkins 0e1ad678ed [stupid-stats] replace removed rustc_codegen_utils with rustc_codegen_ssa 2020-03-22 17:58:00 -05:00
George Fraser 09ed54f557 run_compiler is exported by rustc_interface 2020-03-22 14:33:47 -05:00
George Fraser 506d2d36a4 Fix reference
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-03-21 19:48:32 -05:00
George Fraser 75f77eadfe Reference example from #621 2020-03-21 19:48:32 -05:00
Who? Me?! 1ed6139b14
Move GenericArgs chapter under ty (#624) 2020-03-21 01:32:33 +09:00
Bastian Kauschke 8c26c367b3
words (#622) 2020-03-20 03:57:12 +09:00
bjorn3 77600c0204
Fix typo (#618) 2020-03-17 21:14:48 +02:00
Santiago Pastorino 0d631447bc Update src/walkthrough.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-03-17 12:16:02 -05:00
Santiago Pastorino 39ebd5dea7 Update src/bug-fix-procedure.md
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-03-17 12:16:02 -05:00
Santiago Pastorino 769826dffc use-jemalloc -> jemalloc 2020-03-17 12:16:02 -05:00
Santiago Pastorino 9263df7668 Fix line lengths 2020-03-17 12:16:02 -05:00
Santiago Pastorino 8a934937df Remove typo 2020-03-17 12:16:02 -05:00
Santiago Pastorino 6d6e8fa329 This page is diagnostics.html now 2020-03-17 12:16:02 -05:00
Santiago Pastorino 8a848cecab It may Take a lot of time instead of 2 hours 2020-03-17 12:16:02 -05:00
Santiago Pastorino 89d3be4709 All the text is at the time of this writing 2020-03-17 12:16:02 -05:00
Santiago Pastorino 320624ae55 Suites are defined in enum Mode 2020-03-17 12:16:02 -05:00
Santiago Pastorino 4215ea9f25 This is no longer true since rust#49219 2020-03-17 12:16:02 -05:00
Santiago Pastorino 7afd3c3eb1 Avoid as of this writing given that everything is as of this writing :) 2020-03-17 12:16:02 -05:00
Santiago Pastorino 831a8709c9 Rephrase where compiletest is located 2020-03-17 12:16:02 -05:00
Who? Me?! 13f86ff472
Add some more info to param_env (#610)
* add some more info to param_env

* Remove some trailing spaces

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-17 20:11:37 +09:00
Solomon Ucko acd39231b6 Changed rustc-ty link to go to first message 2020-03-16 21:25:37 -05:00
Solomon Ucko 84791e1c44 Change Rust Koans link to point to first koan 2020-03-16 21:00:47 -05:00
Who? Me?! c2978595fc
Fix broken link (#612) 2020-03-17 08:20:38 +09:00
DillionMango 14a92d3762
quote some commands by to make the style more consistent (#611) 2020-03-16 17:43:48 +09:00
Youngsuk Kim 601fee4da8 Clarify sentence meaning 2020-03-15 21:27:40 -05:00
Yuki Okushi 1f80effa08 Fix broken link 2020-03-15 12:47:04 -05:00
Who? Me?! cf572f5e35 Fix sentence grammar 2020-03-12 14:11:01 -05:00
Who? Me?! 12900c8c46 Use common (American) spellings
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-12 14:11:01 -05:00
Who? Me?! 75f60ec24e Update src/backend/codegen.md
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-12 14:11:01 -05:00
Mark Mansi 83f0ba422a update backend chapters from nagisa's notes 2020-03-12 14:11:01 -05:00
Mark Mansi 1f4d07155e monomorphization chapter 2020-03-12 14:11:01 -05:00
Mark Mansi 469c5af255 add some placeholder text, short intro 2020-03-12 14:11:01 -05:00
Mark Mansi f4f5d4c151 skeleton for backend chapters 2020-03-12 14:11:01 -05:00
Santiago Pastorino 66be765404
Rename rustc-guide to rustc-dev-guide (#601)
* Rename rustc-guide to rustc-dev-guide

* rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org
2020-03-10 11:01:43 -03:00
Chris Simpkins 56cff94ce7
Update ./x.py tidy testing documentation (#607)
* update all docs to use ./x.py test tidy syntax
2020-03-10 12:02:24 +09:00
Who? Me?! 0e8bd00d90
Just lol (#603)
* Just lol

* Update src/appendix/humorust.md

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-08 11:05:26 +09:00
Yuki Okushi b96bf135a6
Remove references to chalkify tests (#604) 2020-03-08 00:24:56 +09:00
Who? Me?! cf476b2adc
typo (#599) 2020-03-04 01:41:36 +09:00
LeSeulArtichaut 3751350235
Get rid of references to the refractored `libsyntax` crate (#598)
* Get rid of references to the refractored `libsyntax` crate

* Apply suggestions from code review

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-03 04:41:41 +09:00
LeSeulArtichaut d752bd35fa Make all links in Appendix E active 2020-03-01 20:54:40 -06:00
Yuki Okushi 692f81f35d Move bless section to running chapter 2020-02-27 11:10:14 -06:00
SarthakSingh31 fa6c80ddb6
Fixed wrong variable name (#593) 2020-02-27 09:08:34 +09:00
Philipp Hansch 9b3803d35d Don't reference librustc_resolve just yet.
It's mentioned further down with more details.
2020-02-25 22:39:16 -06:00
Philipp Hansch c28c5e8ef8 typo: eg. -> e.g. 2020-02-25 22:39:16 -06:00
Philipp Hansch 29b0d1ca81 Name resolution: Add intro section 2020-02-25 22:39:16 -06:00
Mark Mansi 69a3667335 add back link 2020-02-20 16:01:35 -06:00
Mark Mansi 31304c075f update glossary 2020-02-20 16:01:35 -06:00
Mark Mansi f007762b9c create a separate chapter on arenas/interning 2020-02-20 16:01:35 -06:00
Mark Mansi 4b34444364 mention tidy bless 2020-02-20 10:28:24 -06:00
Mark Mansi 1938249be0 tidy runs rustfmt check 2020-02-20 10:28:24 -06:00
Mark Mansi 04832fa1be document ./x.py fmt 2020-02-20 10:28:24 -06:00
Who? Me?! 3dd93bf6b9
spit of type folder and generics subchapters (#586) 2020-02-19 10:31:20 -03:00
Mark Mansi d2e17ebf9c fix link 2020-02-18 16:05:50 -06:00
Yuki Okushi 84d2a48f81 Update section following current state 2020-02-18 11:29:39 -06:00
LORIS INTERGALACTIQUE 39dd586828
Add links to the rustc docs (#578) 2020-02-15 09:35:11 +09:00
Yuki Okushi f53a659623 Fix link 2020-02-14 16:21:53 -06:00
Youngsuk Kim d6a6122b95
Add link to `rustc::mir::Location` (#579) 2020-02-14 23:56:21 +09:00
Youngsuk Kim df680be24b
Correction of type name (#576)
`ConstraintSet` => `OutlivesConstraintSet`
2020-02-12 17:15:44 -03:00
Loris-intergalactique cb4c20039d Minor typo correction 2020-02-12 10:55:46 -06:00
Youngsuk Kim 6480932518 minor typo fix 2020-02-10 23:07:17 -06:00
Youngsuk Kim 2d834a7578 minor typo fix 2020-02-10 16:26:29 -06:00
Tomasz Miąsko 693a92f2d2
Update sanitizers documentation (#562) 2020-02-10 10:53:59 -05:00
Felix S Klock II d1ea643074 Added example of icebreakers-cleanup-crew
(I figure its low cost to just list all the possible pings, compared to the cost of people getting the command wrong or not even knowing the full set of teams possible.)
2020-02-06 17:10:27 -06:00
Eduard-Mihai Burtescu e69b987357
mir: begin documenting user variable debuginfo. (#571) 2020-02-05 23:55:42 +01:00
Wesley Wiser 5bd60bc51e Add a mention of the new `-Zllvm-time-trace` flag 2020-02-02 23:54:00 -06:00
Who? Me?! f0a23c81ef
Fix broken links (#570) 2020-02-03 14:26:13 +09:00
Santiago Pastorino 7f19120125 Add an example PR to join the Cleanup Crew ICE-Breakers 2020-01-30 15:36:22 -06:00
LeSeulArtichaut 0e32b4eeef Replaced simple comment with doc comment 2020-01-29 12:19:31 -06:00
Niko Matsakis a8b58d4c0d
add cleanup crew (#556)
* add cleanup crew

* update the text about carog-bisect-rustc etc

* Update src/ice-breaker/cleanup-crew.md

Co-Authored-By: lqd <remy.rakic+github@gmail.com>

* finish the 3rd section

* fix typo

* clarify when you need to find PR range

* add link to zulip stream

Co-authored-by: lqd <remy.rakic+github@gmail.com>
2020-01-23 14:18:51 -05:00
Yuki Okushi 92baf7293d Fix link 2020-01-13 22:58:05 -06:00
Yuki Okushi 41efacea44 Fix links 2020-01-13 13:14:26 -06:00
Yuki Okushi 97cab0192d Fix links and paths 2020-01-12 14:31:55 -06:00
Yuki Okushi ba48252682 Fix line length 2020-01-10 13:12:39 -05:00
Yuki Okushi 2ef6c927d1 Fix links and paths 2020-01-10 13:12:39 -05:00
Yuki Okushi 702f224bf6 Fix links 2020-01-05 18:38:38 -05:00
Santiago Pastorino 2de64f7caf Summarize the lecture of ty into a chapter (#530)
* Summarize the lecture of ty into a chapter

* Add note that def-id is explained later

* Add mark-i-am fixes

* Address some of Niko's comments

* address last review comments

* fix link

Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-01-03 09:12:37 -05:00
Aaron Hill 629c135e0b Add missing hash marks
Fixes #550

I can no longer reproduce the issue
2020-01-02 22:00:26 -06:00
Aaron Hill 97dfbc964e Apply fixes
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-02 21:54:14 -06:00
Aaron Hill 01c0b04ee3 Fix line lengths 2020-01-02 21:54:14 -06:00
Aaron Hill 7c078d35b4 Update for method renames in libstd 2020-01-02 21:54:14 -06:00
Aaron Hill 6897e6b8cf Fix name of lang item 2020-01-02 21:54:14 -06:00
Aaron Hill 25c226cfa8 Fix typo 2020-01-02 21:54:14 -06:00
Aaron Hill 90af55903a Apply some fixes
Co-Authored-By: Who? Me?! <mark-i-m@users.noreply.github.com>
2020-01-02 21:54:14 -06:00
Aaron Hill a675ddedef Add panic implementation docs 2020-01-02 21:54:14 -06:00
Yuki Okushi b5c6babcdd Fix links (#549) 2019-12-31 19:45:01 +01:00
Who? Me?! a59a612451 More info about using local LLVM (#547)
* more info about llvm-config

* typo

Co-Authored-By: Santiago Pastorino <spastorino@gmail.com>

Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2019-12-31 09:46:49 -03:00
Who? Me?! e668a1ff29 add a bit about def path (#548) 2019-12-31 09:46:18 -03:00
YOUNGSUK KIM 423808fb45 minor grammar fixes 2019-12-28 17:02:38 -06:00
Yuki Okushi e997e06db1 Fix link 2019-12-28 16:59:45 -06:00
Yuki Okushi ad604436f3 Update link 2019-12-26 13:53:05 -06:00
Oliver Scherer c461c8597e Introduce `rustc_const_stable` and explain `rustc_const_unstable` (#542) 2019-12-24 01:16:23 +01:00
Ross MacArthur 846743c713 Minor update to stability.md 2019-12-22 17:17:47 -06:00
Ross MacArthur 8a232d0d2f Update stability documentation, mention `issue = "none"` 2019-12-22 17:17:47 -06:00
Ross MacArthur 6c09a68d97 Rewrap stability.md to column 79 2019-12-22 17:17:47 -06:00
Who? Me?! 3e7993aefe Document rustc internal env vars a little bit (#513) 2019-12-21 08:00:09 -05:00
Tshepang Lekhonkhobe a6cf2843b9 chalk: place brackets in usual positions 2019-12-19 23:03:31 -06:00
Tshepang Lekhonkhobe bd77dc061a salsa: reduce overlong sentence 2019-12-19 23:03:08 -06:00
Christoph Schmidler 6dd78f5b15 Correct statement that wrongly claims the json emitter still lives in libsyntax crate 2019-12-17 08:35:30 -06:00
Mark Mansi e695b62250 update NLL after refactorings 2019-12-14 06:41:11 -06:00
Mark Mansi e30bc0fcef fix link 2019-12-09 10:52:52 -06:00
Mark Mansi cd85fbd68b move the last few things from the forge 2019-12-09 10:52:52 -06:00
Yuki Okushi 7c56708aab Fix links 2019-12-06 09:42:24 -06:00
Laurențiu Nicola d0b93fd015 Remove reference to run-pass tests 2019-12-03 19:37:21 -06:00
Tshepang Lekhonkhobe 746f7e1799 fix links 2019-12-03 19:34:15 -06:00
Who? Me?! 9e8af60434 Add Karrq's salsa chapter (#529)
* add Karrq's salsa chapter

* add youtu.be short url
2019-11-27 14:06:07 -03:00
Who? Me?! 3984184a44 Update src/walkthrough.md
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-26 21:01:59 -06:00
Mark Mansi 4edb95271d Define FCP where first used 2019-11-26 21:01:59 -06:00
Who? Me?! efe3ab7ad1 Revert "website has disappeared"
This reverts commit 0930e773f1.
2019-11-26 21:00:47 -06:00
Hanif Bin Ariffin d373bca885 Couple of changes to code so that its safe
Specifically, `> $1` causes it to write into the file $1 if it exist
And `> ./x.py` is particularly bad because it overwrite the script with
empty spaces...
2019-11-26 17:18:04 -06:00
Ivan Tham 55e5a8a2fa Fix typo 2019-11-26 17:14:05 -06:00
Mark Mansi 0930e773f1 website has disappeared 2019-11-26 17:05:11 -06:00
Tyler Mandry a839812326 -Cllvm-arg is actually -Cllvm-args 2019-11-26 17:03:43 -06:00
Santiago Pastorino b3aa636dc2 Minor mir chapter fixes 2019-11-20 08:00:49 -06:00
homersimpsons 3981656d44 ty.md: fix a typo 2019-11-19 17:57:31 -06:00
Mark Mansi fe8585a9b6 some cleanup 2019-11-14 14:14:39 -06:00
Who? Me?! c1eea21696 typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Who? Me?! be4bd173ef typo
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Mark Mansi 692ac4df9f add oli note 2019-11-14 13:08:20 -06:00
Mark Mansi f4e7bbe473 add something for mir opt 2019-11-14 13:08:20 -06:00
Who? Me?! 9106ae1c3a add compilers biblio (#512) 2019-11-13 16:51:01 +01:00
ksqsf 6d07d62ad3 backtraces work on Mac 2019-11-12 14:44:41 -06:00
Mark Mansi 934380b7cf update parser chapter 2019-11-12 10:28:31 -06:00
Mark Mansi 75a5f9236c Fix chalk links 2019-11-08 11:24:48 -06:00
Tshepang Lekhonkhobe 3e1213e728 trim down "Document rustc" 2019-11-08 10:19:32 -06:00
Tshepang Lekhonkhobe 399d543e38 whitespace 2019-11-08 10:19:32 -06:00
Tshepang Lekhonkhobe 81428c1c1e those are now documented in this guide 2019-11-08 10:16:21 -06:00
Tshepang Lekhonkhobe 78609913b4 rustc_back has long since been renamed to rustc_target 2019-11-08 10:16:06 -06:00
Tshepang Lekhonkhobe afa3168921 fix typo 2019-11-08 10:15:21 -06:00
PotHix a7beb12a13 Update the "Testing infrastructure" section
The testing infrastructure was migrated from Travis and AppVeyor to
Azure Pipelines some time ago. This commit updates the documentation to
reflect this change.

Fixes #500.
2019-11-08 10:14:17 -06:00
Youngsuk Kim 3a4c193747 Clarify function name and add links (#506)
* Clarify function name and add links 

rustc_interface::interface::run_compiler 
(https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/fn.run_compiler.html)
2019-11-09 01:09:44 +09:00
Who? Me?! ab4978cb3b Fix diagram src 2019-11-05 21:57:14 -06:00
Mark Mansi 16d731801a fix links 2019-11-05 21:45:49 -06:00
Mark Mansi 6d15cb5b8e breakup the building chapter 2019-11-05 21:45:49 -06:00
Mark Mansi 46ce39e67e add compiler lecture series appendix 2019-11-05 13:24:26 -06:00
Ralf Jung f07e1f9adf apply linebreaks 2019-11-05 12:33:38 -06:00
Ralf Jung b69fcafb51 expand and update Miri description 2019-11-05 12:33:38 -06:00
Mark Mansi e44ca1f9d1 fix broken links 2019-11-05 11:58:33 -06:00
Mark Mansi 694d870cdc add discussion transcript so we don't lose it 2019-11-05 11:56:47 -06:00
Mark Mansi dcd2b0c5d7 add guidelines for future-incompat lints 2019-11-05 11:56:31 -06:00
Eric Huss d3bfd4ad13 Fix some broken fragment links. 2019-11-05 11:35:34 -06:00
Mazdak Farrokhzad 2dd722b173 Please don't rustfmt. 2019-11-05 09:10:33 -06:00
Tomasz Miąsko 06908de77f Sanitizers implementation in rustc 2019-11-05 09:05:38 -06:00
Alexander Regueiro a448c07a56 Updated instructions for tracking issue (#488)
* Updated instructions for tracking issue

Removed link to Forge instructions for documentation since they no longer seem to exist.

* Improved links and wording
2019-11-01 14:36:47 -03:00
Mark Rousskov 8b86a6ee91
Fixup links in lintstore docs (#487) 2019-10-30 09:32:16 -04:00
Mark Rousskov f668658233 Add some docs around the lint store (#476)
* Add some docs around the lint store

* Update src/diagnostics.md

Co-Authored-By: Niko Matsakis <niko@alum.mit.edu>

* restructure
2019-10-29 17:09:10 -04:00
Tshepang Lekhonkhobe 6f66e0573f fix some whitespace issues (#483)
Also, those are not sh scripts
2019-10-28 15:06:57 +09:00
Mazdak Farrokhzad 6dc2f38cd1 Explain `rustc_on_unimplemented` 2019-10-27 15:58:58 -04:00
Who? Me?! 51a4a72516 move readme to guide (#481) 2019-10-24 16:30:01 -03:00
CreepySkeleton 6fd627d6b8 Fix missing link (#480) 2019-10-24 15:54:40 -03:00
CreepySkeleton 518606ba21 Fix a typo (#477) 2019-10-24 02:42:52 +09:00
Niko Matsakis b7d9cee947 give instructions for how to ping the ICE-breaker teams (#475)
* give instructions for how to ping the ICE-breaker teams

* Update src/ice-breaker/about.md

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* add links
2019-10-22 17:11:52 -03:00
Yuki Okushi 187765fba5
Update links (#472) 2019-10-18 16:22:17 +09:00
Tshepang Lekhonkhobe 232b35d75e format examples better (#471) 2019-10-17 21:03:46 -03:00
Tshepang Lekhonkhobe 4e87eb2fb8 fix links (#469) 2019-10-17 16:40:38 +09:00
Tshepang Lekhonkhobe 81fc310fda update link 2019-10-16 00:35:41 -05:00
Chris Emerson 300412da9e Fix some paths: tt -> mbe (#465) 2019-10-12 19:11:52 -03:00
Diogo Sousa 4a85f36f1c Updated kinds that were renamed to generic arguments.
This change happened in commit bea3d67c77dd643ef1f89c8bd6562e90b373cec4 on
rust-lang/rust.
2019-10-12 09:44:31 -05:00
Eric Huss 799082b340 Try to clarify how crates are able to access force-unstable dependencies
without a feature attribute.
2019-10-10 21:00:58 -05:00
Eric Huss e6f625f96e Expand on stability documentation. 2019-10-10 21:00:58 -05:00
Niko Matsakis ddd3d6abb7 reference the new PR mechanism (#463)
* reference the new PR mechanism

* wrap lines
2019-10-10 15:28:49 -03:00