about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2020-12-31Update logging section and explain `RUSTC_LOG_COLOR` (#997)Camelid-26/+66
* Update logging section and explain `RUSTC_LOG_COLOR` * Small fixes Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> * Mention that prefixes of paths work as log filters * `=debug` matches `debug!` *and higher* * Note that `MIRI_LOG_COLOR` only applies to logs from Miri Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-29Fix broken link in the contributing guide (#996)Joshua Nelson-1/+1
2020-12-28rustc invocation standarized (#992)Iñaki Garay-85/+89
* rustc invocation standarized * Addressed comments * Addressed comments * Addressed comments * Updated command output
2020-12-28Update glossary.md (#994)Wesley Wiser-16/+16
* Update glossary.md - Added additional information to some of the definitions. - Made term capitalization consistent so that only terms which refer to acronyms or concrete types are capitalized. Please let me know if that isn't desirable for some reason. * Update src/appendix/glossary.md Co-authored-by: Joshua Nelson <jyn514@gmail.com> * Update src/appendix/glossary.md Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> * Update src/appendix/glossary.md Co-authored-by: Joshua Nelson <jyn514@gmail.com> Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-27[Fixes #778] Added and reorganized lecture links (#993)Iñaki Garay-23/+44
* Added and reorganized lecture links * Addressed comments * Addressed comments
2020-12-12Document `error-pattern` header (#989)Yuki Okushi-0/+33
* Document `error-pattern` header * Address some reviews
2020-12-11Fix some link failures and typosYuki Okushi-10/+10
2020-12-10All links to rustdoc-internals.mdNixon Enraght-Moony-0/+10
2020-12-07Add a section on identifiers in the MIR (#951)Camelid-2/+47
* Add a section on identifiers in the MIR * Better wording * Use loose lists; fix typo; fix link * Update info * Note how you can retrieve the associated data Suggested by @LeSeulArtichaut. * Update src/identifiers.md Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> * Add TODO for `Promoted` re `GlobalId` Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de> Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-07Adds a dev guide section on Rust CoverageRich Kadel-1/+635
2020-12-06Edit the Mir page to fix infelicities. (#984)Siddharth-12/+17
* Edit the Mir page to fix infelicities. - Remove dead reference to Mir. reflow sentence to talk about `Body::local_decls` - Fix broken links to render properly. - Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`. * Update src/mir/index.md Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> * Edit the Mir page to fix infelicities. - Remove dead reference to Mir. reflow sentence to talk about `Body::local_decls` - Fix broken links to render properly. - Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`. Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-06Add links to the rust documentation for all MIR structs (#982)Siddharth-11/+22
* Add links to the rust documentation for all MIR structs * Update src/mir/index.md Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> * Update src/mir/index.md Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-04Link to the Rustdoc book in the rustdoc chapter (#981)Joshua Nelson-0/+2
This makes a) makes it easier to find info about rustdoc's features and b) redirects people in the wrong place to where they should be looking.
2020-12-03fix a couple linksmark-5/+5
2020-12-03exclude play.rlo from linkchecksmark-1/+1
2020-12-02Use shorter [][]-style link to not pass 100 chars.jumbatm-1/+3
2020-12-02Apply suggestions from review.jumbatm-3/+3
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-12-02Document SessionDiagnosticjumbatm-0/+102
2020-12-01Use shorter 'rustbot label' commandCamelid-1/+1
'rustbot modify labels: ...' -> 'rustbot label ...'
2020-11-30Move the bootstrapping section later in the guide (#975)Joshua Nelson-1/+1
Now that `x.py build` works in most cases, I don't think we need to teach people all the intricacies of bootstrap right away. This moves it to the 'overview of the compiler' section instead.
2020-11-30Address feedbackBen Striegel-37/+15
2020-11-30Add notes about running the UI test suiteBen Striegel-0/+37
2020-11-30Improve contributor experience for the dev-guide itself (#973)Joshua Nelson-57/+14
- Fix typos in the README - Don't echo all instructions in the linkcheck.sh shellscript; this is noisy and unhelpful when developing locally. Verbose output is still enabled in CI. - Link to the index page for compiler docs, not `rustc_middle`. Note that the compiler docs are not a guide - that's us! - Remove outdated instructions about avoiding 429s. These should no longer be occurring locally now that we're using caching. - Consolidate info about `mdbook` and `mdbook-linkcheck` near each other
2020-11-29Document what 'sysroot' meansJoshua Nelson-0/+60
2020-11-29Don't imply that the name of the fork always needs to be changedJoshua Nelson-1/+1
2020-11-29Add information about common git issuesJoshua Nelson-1/+50
2020-11-28Fix a typoHirochika Matsumoto-1/+1
2020-11-26Link to feature-stabilization docsCamelid-3/+11
2020-11-26Move instructions for adding a feature gate to "Feature Gates"Camelid-22/+35
2020-11-26Document how to modify feature gatesCamelid-0/+66
How to remove them and how to rename them. cc <https://github.com/rust-lang/rust/pull/79336#discussion_r528627318> cc @varkor
2020-11-24Document when errors should have an associated error code (#967)Camelid-2/+11
Document when errors should have an associated error code
2020-11-24Update bootstrap documentation with the new envvars for RUSTFLAGSGabriel de Perthuis-6/+2
This follows <https://github.com/rust-lang/rust/pull/63722>.
2020-11-23don't use cache while running PR buildsmark-2/+2
2020-11-23Update `param_env` linkCamelid-1/+1
`rustc_ty` was recently [renamed] to `rustc_ty_utils`, so this link has to be updated. [renamed]: https://github.com/rust-lang/rust/commit/f59d03038c8601a66bd165a2f1980109665d077c
2020-11-22add small explanation of why fuel can be useful for debuggingcjkenn-2/+4
2020-11-22add mir-opt section for optimization fuelcjkenn-0/+21
2020-11-16updated link for Citizen Code of Conduct (#959)Tobias-36/+1
* remove the code of conduct; instead link to https://www.rust-lang.org/conduct.html
2020-11-15add string interning wikipedia link (#960)hosseind88-1/+5
2020-11-12Provide a brief example of a data-flow analysisCamelid-0/+26
2020-11-12Explain the purpose of the bottom valueCamelid-2/+6
2020-11-12Add a section on data-flow convergenceCamelid-1/+15
2020-11-11Links to htmldocck/@has/matches for searchabilityAlexis Bourget-1/+6
2020-11-11Update src/compiler-debugging.mdOlivier FAURE-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-11Update link in compiler-debugging.mdOlivier FAURE-2/+6
Link didn't point to latest version of `env_logger` crate. Add an explanation to disambiguate the RUSTC_LOG syntax.
2020-11-10Add some more examples of using the compilerJoshua Nelson-3/+15
2020-11-09Update src/building/how-to-build-and-run.mdCasey Rodarmor-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-11-09Fix install commandCasey Rodarmor-1/+1
2020-11-09Document `src/tools/x`, an `x.py` wrapperCasey Rodarmor-0/+8
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-08correct minor grammar mistake (#944)Joshua Nitschke-1/+1
correct `a lots to `a lot` on implementing_new_features.md
2020-11-06Use `provide_both` link instead of `provide(_extern)`Yuki Okushi-5/+3