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