Joshua Nelson
43fa1342f0
Document what 'sysroot' means
2020-11-29 20:02:55 -05:00
Joshua Nelson
844ca6f14d
Don't imply that the name of the fork always needs to be changed
2020-11-29 10:42:20 -05:00
Joshua Nelson
1f25130a83
Add information about common git issues
2020-11-29 10:42:20 -05:00
Hirochika Matsumoto
98fdbf9406
Fix a typo
2020-11-28 14:09:03 -05:00
Camelid
5dce3301d4
Link to feature-stabilization docs
2020-11-26 20:43:36 -05:00
Camelid
ff24e31a36
Move instructions for adding a feature gate to "Feature Gates"
2020-11-26 20:43:36 -05:00
Camelid
ea6df8f903
Document how to modify feature gates
...
How to remove them and how to rename them.
cc <https://github.com/rust-lang/rust/pull/79336#discussion_r528627318 >
cc @varkor
2020-11-26 20:43:36 -05:00
Camelid
c63305c6e8
Document when errors should have an associated error code ( #967 )
...
Document when errors should have an associated error code
2020-11-24 17:09:59 -08:00
Gabriel de Perthuis
ced315b860
Update bootstrap documentation with the new envvars for RUSTFLAGS
...
This follows <https://github.com/rust-lang/rust/pull/63722 >.
2020-11-24 09:06:33 -05:00
Camelid
2fa114e07d
Update `param_env` link
...
`rustc_ty` was recently [renamed] to `rustc_ty_utils`, so this link has
to be updated.
[renamed]: f59d03038c
2020-11-23 18:40:46 -05:00
cjkenn
49069a0233
add small explanation of why fuel can be useful for debugging
2020-11-22 08:43:00 -05:00
cjkenn
ed89d6f643
add mir-opt section for optimization fuel
2020-11-22 08:43:00 -05:00
hosseind88
b2a34704a6
add string interning wikipedia link ( #960 )
2020-11-15 12:14:06 -05:00
Camelid
661ba74612
Provide a brief example of a data-flow analysis
2020-11-12 11:53:00 -05:00
Camelid
3e4c0c70f2
Explain the purpose of the bottom value
2020-11-12 11:53:00 -05:00
Camelid
6a4c0ee05f
Add a section on data-flow convergence
2020-11-12 11:53:00 -05:00
Alexis Bourget
4b00bfb892
Links to htmldocck/@has/matches for searchability
2020-11-11 19:02:37 -05:00
Olivier FAURE
7497da24ca
Update src/compiler-debugging.md
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-11 10:39:15 -05:00
Olivier FAURE
4da49360a6
Update link in compiler-debugging.md
...
Link didn't point to latest version of `env_logger` crate.
Add an explanation to disambiguate the RUSTC_LOG syntax.
2020-11-11 10:39:15 -05:00
Casey Rodarmor
d7bb0ad45d
Update src/building/how-to-build-and-run.md
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-09 09:07:41 +02:00
Casey Rodarmor
79d3ceb2fa
Fix install command
2020-11-09 09:07:41 +02:00
Casey Rodarmor
ac0b94deff
Document `src/tools/x`, an `x.py` wrapper
...
Document the newly added `x` binary that wraps `x.py`, which can be
installed system-wide, and can be run from any subdirectory of a rust
repo checkout.
2020-11-09 09:07:41 +02:00
Joshua Nitschke
3f33422aab
correct minor grammar mistake ( #944 )
...
correct `a lots to `a lot` on implementing_new_features.md
2020-11-08 19:15:22 +01:00
Yuki Okushi
3de0132a0d
Use `provide_both` link instead of `provide(_extern)`
2020-11-06 19:18:15 -06:00
Camelid
17c77b296e
Use new-style mdBook internal links in glossary
2020-10-28 18:33:30 -04:00
Camelid
5b6f343c87
Put `TyCtxt` at the right position
...
It should now be at its alphabetical position.
Also fixed link to `TyCtxt` anchor.
2020-10-28 18:33:30 -04:00
Camelid
bbcf9282ac
Fix broken tags in glossary
2020-10-28 18:33:30 -04:00
Santiago Pastorino
c2606a6d54
Small improvements ( #936 )
...
* Fix typo errros -> errors
* an -> a
* hir -> hir()
2020-10-27 19:34:28 +01:00
Camelid
bec1897ef7
Add "ctxt" and `TyCtxt` to the glossary ( #937 )
2020-10-27 19:30:20 +01:00
Camelid
e58307a28e
Clean up `compiletest` chapter ( #935 )
2020-10-26 11:58:00 +09:00
Yuki Okushi
e55ee68ed0
Improve prerequisites section for Windows ( #934 )
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-26 08:15:21 +09:00
Nadrieril
f0cd34e615
Explain lint renaming/removing
2020-10-22 20:41:09 -04:00
Yuki Okushi
61feec113f
Add reference PRs for `r?` and `r+` comments ( #928 )
2020-10-21 23:53:32 +02:00
Yuki Okushi
a6279510e2
Replace links to `buildbot2.r-l.o` with `bors.r-l.o`
2020-10-21 17:34:07 -04:00
Joshua Nelson
ee849ff66e
Revert "Remove outdated build rustdoc --stage 1"
...
This reverts commit cd35d2b594 .
2020-10-19 23:17:17 -04:00
Ivan Tham
e4a7be5779
Remove outdated build rustdoc --stage 1
...
It builds with stage 1 by default.
2020-10-19 22:23:59 -04:00
Santiago Pastorino
269158b77e
Fix typo errros -> errors
2020-10-19 14:11:19 -04:00
Nadrieril
d859c9924e
Explain why exhaustiveness is necessary for soundness
2020-10-16 18:26:10 -04:00
Nadrieril
5ddfd9bfe9
Explain pattern exhaustiveness checking
2020-10-16 18:26:10 -04:00
Yuki Okushi
2b1e754e83
Fix a link on git.md
2020-10-15 23:11:33 -04:00
1c3t3a
5f06872226
Added description of word Scrutinee to the glossary ( #921 )
2020-10-13 01:57:18 +09:00
LeSeulArtichaut
66649d9c81
Apply suggestions from code review
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-10 12:12:44 -04:00
LeSeulArtichaut
eee78ac90f
Talk about git submodules
2020-10-10 12:12:44 -04:00
Joshua Nelson
d056730692
Recommend debug-logging instead of debug
...
This makes the compiler faster to running without sacrificing too much
performance. It still shows logging so contributors aren't confused by
`debug!` doing nothing.
2020-10-08 16:15:06 -05:00
Justus K
1ae9303960
Update more occurrences of system llvm link
2020-10-08 11:47:32 -04:00
Stu
ac6fb7efa1
Fix broken "system LLVM" link
2020-10-08 11:47:32 -04:00
mautamu
db41bec0c9
Fix typos ( #916 )
...
Fixed two typos.
2020-10-08 16:19:56 +09:00
Cass
9ccc69f152
Add section describing git hook functionality
...
This is a companion to [this PR](https://github.com/rust-lang/rust/pull/76356 ), which deals with including functionality for automatically running `tidy --bless` on each commit.
Undo editor auto-formatting and clarify git hook renaming
a word
Phrasing
Apply suggestions from code review
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-07 22:30:24 -04:00
Joshua Nelson
5fabea540a
Document `Assemble`
2020-10-04 11:59:58 -04:00
Joshua Nelson
fcc93a7043
Explain stages in terms of the compiler currently running (take N+1) ( #857 )
...
* Explain stages in terms of the compiler currently running
- Address some confusing points
+ stage N+1 -> stage N artifacts
+ Use more likely examples of an ABI break
+ stage N -> stage N compiler
- Mention why rustc occasionally uses `cfg(bootstrap)`
- Note that stage1 is built using two different versions
- Add lots of examples
+ `test src/test/ui` and `test compiler/rustc` run different compilers 😢
+ Separate examples of what to do from examples of what not to do
- 'ship stage 1 artifacts' -> 'ship stage 2 compiler'
This is hopefully less confusing.
* build -> x.py build
* Add section on build artifacts
* Improve wording
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
* uplifted -> assembled
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-04 16:25:02 +02:00