about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2024-04-01Change location in guideBoxy-1/+1
2024-04-01Initial rewriteBoxy-40/+130
2024-03-31Add quickstart for how to build and run the compiler (#1951)Nilstrieb-0/+70
* Add quickstart for how to build and run the compiler The chapter is quite long, and a lot of the information is, while valuable, not very important for newcomers. I think it makes sense to have a condensed version for anyone just wanting to get started with only the most important information. * A few improvements to quickstart
2024-03-30Delete length check (#1952)Nilstrieb-71/+3
It's super annoying to be forced to use this bad convention, and apparently everyone agrees. The only reason no improvements have been done is because those were blocked on writing a better checker. I strongly believe that no checker is better than a bad checker, so let's just delete it in the meantime. I kindly asked anyone who sees this to complain about overly long sentences in review in the future, I think we can make this turn out fine.
2024-03-28Fix some commentsJohnEndson-6/+6
Signed-off-by: JohnEndson <jiayuzhen@outlook.com>
2024-03-27summary: opaque-types-region-inference-restrictionsAli MJ Al-Nasrawy-0/+2
2024-03-27add opaque-types-region-inference-restrictionsAli MJ Al-Nasrawy-0/+264
2024-03-23Rename AstConv to HIR ty loweringLeón Orell Valerian Liehr-26/+29
2024-03-22add chapter to summarylcnr-0/+1
2024-03-22explain rigid aliaseslcnr-1/+3
2024-03-22Update src/solve/significant-changes.mdlcnr-1/+1
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
2024-03-22Update src/solve/significant-changes.mdlcnr-1/+1
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
2024-03-22is this sensible? idklcnr-38/+77
2024-03-22explore significant changes with the new solverlcnr-0/+109
2024-03-22canonicalization is out of datelcnr-1/+0
2024-03-22Fix broken link in chapter '1. How to build and run the compiler'Christopher B. Speir-1/+1
The 'read this chapter' link under the 'What is x.py?' section returned a Document not found (404) error.
2024-03-19typoTshepang Mbambo-1/+1
2024-03-18Reflect rustc_codegen_cranelift moveSeo Sanghyeon-1/+1
2024-03-13Update rustdoc-internals.md (#1911)Tbkhi-123/+149
* Update rustdoc-internals.md Minor updates to syntax and some clarifications. * updates * Update rustdoc-internals.md
2024-03-13Update test-implementation.md (#1937)Tbkhi-29/+34
* Update test-implementation.md * Update test-implementation.md
2024-03-13Extract Bootstrap into its own section (#1939)许杰友 Jieyou Xu (Joe)-16/+79
* Extract Bootstrap into its own section Add brief explanation for `Step` and `Builder::ensure` as core Bootstrap internal concepts. * Drop common commands page (use `x --help` instead) * Add `make` as an alternative entry point * Add src/bootstrap/README.md link
2024-03-13typosTshepang Mbambo-4/+4
Also - use proper case for rust-analyzer - reformat a bit, for sembr
2024-03-12More updates for recent diagnostics changes.Nicholas Nethercote-62/+60
A sequel to #1883, this covers diagnostic naming changes from rust-lang/rust/pull/121489, rust-lang/rust/pull/121780, and rust-lang/rust/pull/122132.
2024-03-11Update bibliography.md (#1912)Tbkhi-18/+19
Minor additions and resorting.
2024-03-11update rustc-driver-interacting-with-the-ast.md (#1930)Tbkhi-2/+6
* adding links * Update src/rustc-driver-interacting-with-the-ast.md Co-authored-by: Tshepang Mbambo <tshepang@gmail.com> * redo links and formatting * Update rustc-driver-interacting-with-the-ast.md --------- Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-03-11Update rustc-driver-getting-diagnostics.mdTbkhi-3/+8
2024-03-08Document that test names cannot contain dots (#1927)许杰友 Jieyou Xu (Joe)-0/+3
2024-03-04Update overview.md (#1898)Tbkhi-156/+172
* Update overview.md Various link addition and minor edits for clarity. * generic improvements * fix line lengths for ci/cd --------- Co-authored-by: Tbkhi <me.stole546@silomails.com> Co-authored-by: Oliver Dechant <ol922807@dal.ca>
2024-03-04and againlcnr-0/+1
2024-03-04unfk linkslcnr-0/+1
2024-03-04next-solver: document caching (#1923)lcnr-0/+112
2024-03-01Add compiletest docs for FileCheck prefixes and `//@ filecheck-flags:` (#1914)Stuart Cook-0/+32
This patch also adds docs for `//@ llvm-cov-flags:`, and notes that coverage tests support revisions (though none of the current tests actually do so).
2024-03-01Use different type in an example (#1908)Arthur Milchior-1/+1
* Use different type in an example Sentences such as «without the argument u32» were ambiguous, as there were two distincts u32. Having a single one, the one in the monomorphization of the type, remove the ambiguity. * Update src/ty.md --------- Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01Update run-make test description (#1920)许杰友 Jieyou Xu (Joe)-6/+37
2024-03-01Add some more details on feature gating (#1891)Christopher Smyth-3/+9
* Add some more details on feature gating * Apply suggestions from code review --------- Co-authored-by: Ross Smyth <rsmyth@electrocraft.com> Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01make shell.nix better (#1858)Nilstrieb-57/+24
* make shell.nix better * Mention using RUST_BOOTSTRAP_CONFIG * Move things to `buildInputs` and add `glibc.out glibc.static` This fixes the nofile-limit.rs UI test. * short lines for the short line fans * Fix pkgs
2024-03-01opaque types in new solver (#1918)lcnr-0/+120
* add opaque types doc * summary
2024-02-29add implied bounds doc (#1915)lcnr-0/+85
* add implied bounds doc * lazy type aliases also have explicit implied bounds
2024-02-22Update compiletest directives to be in `ui_test` style `//@`许杰友 Jieyou Xu (Joe)-22/+21
2024-02-21Add notes on tweak rust-analyzer.check.overrideCommand (#1890)Yukang-0/+6
2024-02-21Fix more links (#1884)Yuki Okushi-25/+24
2024-02-17Remove reference to -Z ast-json and -Z ast-json-noexpandMatthew Woodcraft-2/+0
These were removed in 2021. https://github.com/rust-lang/rust/pull/85993
2024-02-16Specify ui test suite directives and add note on ignore-tidy directives许杰友 Jieyou Xu (Joe)-4/+6
2024-02-16Update src/tests/ui.mdMichael Goulet-1/+1
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16Update docs about ui tests now using `//@` headersOli Scherer-17/+22
2024-02-14Make git rebase commands more bulletproof (#1889)Jakub Beránek-6/+16
2024-02-13updating-llvm.md: command does not work (#1887)Tshepang Mbambo-1/+0
2024-02-13fix update llvm build commandGnana Ganesh-1/+1
2024-02-11separate link target from normal contentTshepang Mbambo-3/+5
2024-02-11fix sentenceTshepang Mbambo-3/+3