Commit Graph

656 Commits

Author SHA1 Message Date
Amanjeev Sethi 5236600afd Added Rustc Debugger Support Chapter 2019-06-20 20:54:40 -05:00
Mark Mansi fd50812b27 fix typos 2019-06-15 17:29:12 -05:00
Eduard-Mihai Burtescu 2309adfd9d Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>. 2019-06-15 16:58:30 -05:00
Mark Mansi 430948ac17 fix ci failures, typos, broken links 2019-06-15 16:57:18 -05:00
Mark Mansi 0999bcd79d Some edits to address review comments 2019-06-15 16:57:18 -05:00
Blitzerr 01882f9f56 Notes about closure de-sugaring 2019-06-15 16:57:18 -05:00
Mark Mansi 6ad9c2f2d3 add note about rebuilding llvm 2019-06-15 16:30:28 -05:00
Jonathan Behrens f706365749 Changes to config.toml require a clean 2019-06-15 16:06:20 -05:00
Jonas Schievink 7d3823b5a3 Fix a few typos in type inference chapter
Also try to test the top example
2019-06-13 19:49:30 -05:00
Who? Me?! f93dca23bf Update how-to-build-and-run.md 2019-06-11 11:55:03 -05:00
Who? Me?! c9805eeb74 Update how-to-build-and-run.md 2019-06-11 11:55:03 -05:00
Who? Me?! 12292c52d4 Update compiler-debugging.md 2019-06-11 11:55:03 -05:00
Who? Me?! 5f5ea62102 use debug instead of debuginfo-level 2019-06-11 11:55:03 -05:00
mdsimmo c9ba3e86b9 Replaced tabs with spaces 2019-06-07 15:32:02 -05:00
mdsimmo 17f497ec86 correct indentation
Indentation consistently 4 spaces and Part 1/Part2 contain everything else
2019-06-07 15:32:02 -05:00
Vadim Petrochenkov 3510bdcba1 Update information about debuginfo configuration 2019-06-02 19:36:58 -05:00
mark 922bbf5d19 fix long line 2019-06-02 19:32:17 -05:00
Vallentin fc543f73a0 Fixed misspelling 2019-06-02 19:24:11 -05:00
Santiago Pastorino 6b51c0cd48 Add more info subsection with links to forge and rustc api docs 2019-05-28 17:51:08 -03:00
Julian Wollersberger 848faf9728 Renamed the file and title of the diagnostics chapter.
When I recently searched for infos in this guide on how to create
a warning, I couldn't find any. Later I found it through #14.

The reason was that I didn't know the term 'diagnostics' and that
it is the collective term for errors, warnings and lints.

Renaming the chapter to include the word 'error' should help.
I think also including 'warning' in the title shouldn't be
neccessary, because it's close enought.
2019-05-17 11:02:08 -05:00
Iñaki Garay fe258eff74 Added rustc phases diagram and explanation
Added rustc build phase diagram and explanation
2019-05-15 09:39:50 -05:00
varkor c2c7085f77 Mention running tests for subdirectories 2019-05-15 09:38:51 -05:00
Iñaki Garay d67561391a Fixed links broken by merging chalks rules and solve 2019-05-15 09:34:04 -05:00
Michael Woerister c3b32895e7 Add documentation about profile-guided optimization. 2019-05-14 11:19:21 -05:00
Tom Mulvaney e928847fde Fix typo, 'which' repeated twice 2019-05-07 09:53:32 -05:00
Niko Matsakis c7b38b9259 Merge pull request #304 from rasendubi/fix-canonicalization
[canonicalization] fix result canonicalization example
2019-05-04 07:01:32 -04:00
Yuki Okushi 27b763f2e8 Rename to RUSTC_LOG 2019-05-03 15:04:24 -05:00
Iñaki Garay 74fb5ab71b Added mention of universal ctags 2019-05-03 11:48:45 -05:00
guilherme 2b0a6b9709 Fix link in walkthrough 2019-05-01 22:22:29 -05:00
Nicolas ed59780204 Remove IRC from discussion chats 2019-05-01 22:20:10 -05:00
Alex Crichton 5fbdd8652f Bring the updating LLVM guide up to date 2019-05-01 22:18:48 -05:00
Iñaki Garay b9a6642e6c Fixed broken chalk links 2019-04-25 20:17:28 -05:00
Matthew Jasper bebe83732f Add documentation for two-phase borrows 2019-04-24 17:29:05 -05:00
Oliver Scherer 4aa068fce7 Explain new powers of the `treat-err-as-bug` flag 2019-04-24 09:04:12 -05:00
Alexey Shmalko c12d35804d Update lowering-module test case 2019-04-23 12:30:52 -05:00
Alexey Shmalko 31c4046c5a [canonicalization] fix result canonicalization example 2019-04-20 23:00:13 +03:00
Alexey Shmalko 52b2f710f8 Update BodyId description
It is now a newtype'd HirId, not NodeId.

See https://github.com/rust-lang/rust/pull/58167.
2019-04-20 09:57:54 -05:00
Alexey Shmalko 59f8f083df Update test-implementation chapter to current code
`test_main_static` is now used instead of `test_static_main`.

The libsyntax no longer generates a `TESTS` constant but rather passes
all test cases directly into `test_main_static` as a slice.

Update the guide accordingly.
2019-04-17 22:28:36 -05:00
Mark Mansi 1cbf18e860 update chalk with new organization 2019-04-16 16:23:26 -05:00
Mark Mansi caa5110dc0 move to subsection 2019-04-16 15:37:46 -05:00
Mark Mansi 6c7aa77f20 fix MovePathIndex link 2019-04-16 15:37:11 -05:00
Alexey Shmalko d4ec0c2edb Update query chapter for the query macro rewrite
There was a big macro rewrite in these pull requests:
https://github.com/rust-lang/rust/pull/56462
https://github.com/rust-lang/rust/pull/59517

Update the query chapter to describe the new macro usage.
2019-04-16 15:36:32 -05:00
Zack M. Davis b12843b084 subchapter with information about `--error-format json` 2019-04-16 14:10:52 -05:00
Krishna Sannasi d73b85a6ae Update query-evaluation-model-in-detail.md
Fix typo in the example
2019-04-13 13:13:28 -05:00
mark 91e21a130e oops 2019-03-23 18:39:14 -05:00
mark d863c0868e Use eddyb's suggestion from #11 about logging 2019-03-23 18:39:14 -05:00
Denys Zariaiev 5ac9862f92 Add a note about `assembly` test suite. 2019-03-22 16:30:05 -05:00
Dan Robertson cebb3ca661 Update link to debugging codegen 2019-03-22 16:29:47 -05:00
Alexander Regueiro dbffbfcc6b Small fix to code for checking feature gate 2019-03-22 15:50:31 -05:00
Zoxc ffdc1563c6 Merge pull request #288 from mark-i-m/fix-links
Fix links
2019-03-20 08:02:50 +01:00
mark 7e2b64e262 address Zoxc's comments 2019-03-19 19:02:59 -05:00
Santiago Pastorino 9e92844a9e Add experts map section to compiler team page 2019-03-15 17:32:05 -05:00
varkor a15c2737ca Fix mask -> tag terminology 2019-03-15 17:30:37 -05:00
Mark Mansi c802e54d6d update rustc driver chapters 2019-03-15 17:25:12 -05:00
Mark Mansi 55856e4162 chalk has moved to rust-lang 2019-03-15 17:24:46 -05:00
Niko Matsakis be8685ab1f Merge pull request #273 from mark-i-m/conventions
Update Conventions chapters, add chapter on dependencies
2019-03-13 13:44:02 -04:00
Mark Mansi 1714da2ae7 fix link 2019-02-23 18:14:47 -06:00
Mark Mansi 2a74e5f5ce Organize and finish debugging chapters 2019-02-23 18:14:47 -06:00
Who? Me?! ab2452dcd0 Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! b150cc7b63 Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! d234ee80bd Update src/implementing_new_features.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan aac85f1520 issue_130_7 updated with review comments 2019-02-23 18:12:58 -06:00
Who? Me?! c591deffc1 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 00d46e9119 Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 3c4f0bb33e Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 6e7e27ac7a Update src/implementing_new_feature.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Who? Me?! 18a3ac0aa9 Update src/SUMMARY.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-02-23 18:12:58 -06:00
Rajkumar Natarajan e199a75247 issue_130_7 implementing new features 2019-02-23 18:12:58 -06:00
Alexander Regueiro acd8644cb9 Small clarifications to glossary definitions 2019-02-18 20:14:41 -06:00
varkor 85431b8b4c Ignore Rust snippet 2019-02-18 17:48:15 -06:00
varkor 4bd78b5135 Add more information and an example to Kind chapter 2019-02-18 17:48:15 -06:00
varkor 24f3f5794f Add preliminary chapter on kinds 2019-02-18 17:48:15 -06:00
varkor ff1aa7ce79 Add "drop glue" to the glossary 2019-02-18 12:34:28 -06:00
varkor 6c2df26620 Add "memoise" to the glossary 2019-02-18 12:34:28 -06:00
varkor c82ef39c09 Add "intern" to the glossary 2019-02-18 12:34:28 -06:00
varkor f387e3fb99 Add "early-bound lifetime" and "late-bound lifetime" to the glossary 2019-02-18 12:34:28 -06:00
varkor a01bd50010 Add "item" to glossary 2019-02-18 12:34:28 -06:00
varkor 18029db370 Add "lang item" to glossary 2019-02-18 12:34:28 -06:00
Zack M. Davis c0600a96b3 `_with_applicability` methods are gone
The simpler `span_suggestion` method name now takes the applicability
argument, thanks to Andy Russell (rust-lang/rust@0897ffc28f).
2019-02-06 10:31:58 -06:00
Michael Woerister 1ad362e6d6 Merge pull request #270 from michaelwoerister/query-eval-model-update
Add "The Query Evaluation Model in Detail" and "Incremental Compilation In Detail" chapters.
2019-01-30 13:30:48 +01:00
Michael Woerister b8af56c8ac Add a more detailed description of how incremental compilation works. 2019-01-30 13:13:16 +01:00
Mark Mansi 72b9911979 add blurb about downloading artifacts; fix #77x 2019-01-29 11:16:11 -06:00
Mark Mansi 5e3be2aa64 better grouping, more links 2019-01-27 19:58:43 -06:00
Ralf Jung 328e99ad23 Typo
Co-Authored-By: mark-i-m <mark-i-m@users.noreply.github.com>
2019-01-27 19:58:43 -06:00
Mark Mansi 986d371cb0 fix updating-docs link, add regression test 2019-01-27 19:58:43 -06:00
Mark Mansi 8e9e120bfd add comments from sunjay 2019-01-25 13:37:54 -06:00
Mark Mansi 0a357aaf8b add link to sunjay talk 2019-01-25 13:37:54 -06:00
Mark Mansi dba629782a fix #182 2019-01-23 22:26:15 -06:00
Mark Mansi c79621e333 update conventions 2019-01-23 12:56:40 -06:00
Mark Mansi 1d57e3bdd1 update text about copyright headers 2019-01-23 12:41:18 -06:00
Michael Woerister d9ec22b420 Add "The Query Evaluation Model in Detail" Chapter. 2019-01-23 15:37:14 +01:00
Oliver Scherer 4fbf0b9cd4 Merge pull request #266 from rchaser53/fix-miri
fix unwrap_u64 and to_raw_bits
2019-01-22 09:25:17 +01:00
Oliver Scherer 6f0262c4c7 Fix TokenStream link 2019-01-21 14:54:10 -06:00
rchaser53 45134abffe fix unwrap_u64 and to_raw_bits 2019-01-22 00:24:36 +09:00
rchaser53 a626917262 fix related miri variables
rename variables like below
 - Value => ConstValue
 - PrimVal => Scalar
 - Value::ByVal => ConstValue::Scalar
 - Value::ByValPair => ConstValue::ScalarPair
2019-01-19 23:48:13 +09:00
mark f12784bc2e better titles a la Niko 2019-01-18 15:51:53 -06:00
mark b2fddde554 Reorganize the book into 3 parts 2019-01-18 15:51:53 -06:00
Who? Me?! c7503c1f81 Fix relative link 2019-01-18 14:09:30 -06:00
king6cong 1510687145 Update the doc related to complier logging 2019-01-18 13:25:19 -06:00
Who? Me?! cdd17886a2 Update stabilization_guide.md 2019-01-17 18:57:05 -06:00
Rajkumar Natarajan 5025bb7ca3 issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! 8c5ceb8126 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! a47d28bbee Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 57d867e4da issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 0a8334d73f issue 130 stabilization guide 2019-01-17 18:56:02 -06:00
Who? Me?! 88d58318b2 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 488548babb Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan dcab12c5ee issue_180 incorporated the review comments 2019-01-17 18:56:02 -06:00
Who? Me?! dee61dff39 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 9be6da3bf3 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! 9f4b9d8ced Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! fe38640965 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! e2affaf077 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Who? Me?! ea8749dd12 Update src/stabilization_guide.md
Co-Authored-By: rajcspsg <raj.cs.psg@gmail.com>
2019-01-17 18:56:02 -06:00
Rajkumar Natarajan 69005b5daa issue_130_stabilization_guide 2019-01-17 18:56:02 -06:00
Niko Matsakis 2e56207594 Merge pull request #234 from mark-i-m/mir_borrowck
Fill out the borrowck chapter a bit more
2019-01-11 17:27:37 -05:00
Igor Matuszewski a709cedfa2 Mention old incr. comp. design doc 2019-01-04 15:23:15 +01:00
Philipp Hansch 3c5065f08a Add IRLO to glossary
Someone was asking on Discord what it stands for. It's sometimes used in
GitHub issues, Twitter and other places.
2019-01-01 09:45:12 -06:00
ednix 8a96fc0003 Fix formatting, follow 100 char line length limit
No idea why the Markdown stuff got dropped last time. Hopefully everything is fine now.
2018-12-23 22:49:56 -06:00
ednix 9198dcb431 Do what the last commit said it did 2018-12-23 22:49:56 -06:00
ednix edcb7919f3 Clarify line about RLS being unable to handle rustc
I based this clarification on this [answer](https://www.reddit.com/r/rust/comments/a8mk33/question_about_a_line_from_the_rust_compiler_book/ecbx1ma/) to
my question on Reddit.
2018-12-23 22:49:56 -06:00
Who? Me?! 4e32d89e04 Fix link 2018-12-23 15:15:17 -06:00
Roberto Vidal 2a0f15148b Fixes broken links 2018-12-14 17:30:13 -06:00
Oliver Scherer fdec17d475 Add graphs that I forgot to push in the original PR 2018-12-14 17:29:38 -06:00
Dan Robertson bb91e56438 Fix link to rustc_mir::hair::cx::expr 2018-12-11 21:58:29 -06:00
Mark Mansi c2b136e435 update a couple of links 2018-12-11 15:29:38 -06:00
Mark Mansi b1f84cf70b added example, reworked inference section 2018-12-11 15:22:17 -06:00
Mark Mansi 53ab47354e a few updates 2018-12-11 14:46:35 -06:00
Alex Crichton a5c03a7d47 Add some documentation about updating LLVM 2018-12-07 15:43:59 -06:00
Edd Barrett 0d5c72a88d Provide a Python example. 2018-12-03 12:07:30 -06:00
Edd Barrett 2da7be9ca0 Explain how to check if gdb supports Python. 2018-12-03 12:07:30 -06:00
Edd Barrett 15d8147eb2 Mention that tests need a Python-enabled gdb. 2018-12-03 12:07:30 -06:00
Andy Wortman e3c1238b29 fix some linkrotted links 2018-12-01 21:57:43 -06:00
yui-knk a3d667ee31 Fix the file path where AST is defined 2018-12-01 15:11:25 -06:00
Who? Me?! 06fab883f7 fix relative link (#242) 2018-11-26 15:24:39 -06:00
Niko Matsakis 653c9e3c09 Merge pull request #237 from mark-i-m/walkthrough
start on walkthrough
2018-11-26 15:28:17 -05:00
Mark Mansi 185d1ff913 add link to stabilization pr 2018-11-26 11:06:41 -06:00
Niko Matsakis 56a4e40e20 Merge pull request #228 from tmandry/traits-slg
Add traits SLG solver section
2018-11-20 14:08:02 -05:00
Tyler Mandry f5cb41ca90 SLG: Add links and mark-i-m's suggestions 2018-11-19 18:51:49 -06:00
Mark Mansi c1fdc3b375 finish walkthrough 2018-11-19 15:34:02 -06:00
Félix Fischer 16da1bc2a6 Fix typo (#238)
"is is" ~> "it is"
2018-11-14 21:46:25 -06:00
Mark Mansi 222e24e73b add a bit more 2018-11-11 16:32:11 -06:00
Mark Mansi b2ac22f080 add a bit more 2018-11-10 22:41:27 -06:00
Mark Mansi 92c0e341db start on walkthrough 2018-11-10 22:06:15 -06:00
Oliver Scherer 4252f1753a Don't try to build some example code snippets 2018-11-09 19:17:49 -06:00
Oliver Scherer 073588bc59 Line length checks 2018-11-09 19:17:49 -06:00
Oliver Scherer 5fd83b7d44 Remove a sentence from the end of a chapter because it also appears right at the start of the chapter 2018-11-09 19:17:49 -06:00
Who? Me?! c9f929122a Clarify aggregates
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! 203a545285 Missing connection between two consecutive sentences
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00
Who? Me?! cc33639a95 english is hard
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
2018-11-09 19:17:49 -06:00