about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
2025-04-12add missing wordTshepang Mbambo-1/+1
2025-04-12remove implied textTshepang Mbambo-1/+1
"how much to trust" implies the opposite
2025-04-12use more simple languageTshepang Mbambo-1/+1
Not obvious what "sort by" means
2025-04-12ease copy-pasteTshepang Mbambo-2/+4
2025-04-12Update "crater" link to actually point to crater.mdFreya Arbjerg-1/+1
2025-04-11Document that `opt-dist` requires metrics to be enabledJakub Beránek-2/+7
2025-04-11Merge pull request #2320 from smanilov/patch-1Tshepang Mbambo-14/+22
Update table of contents in about-this-guide.md
2025-04-11Update table of contents in about-this-guide.mdStan Manilov-14/+22
1. added two new parts: Bootstrapping and Supporting Infrastructure; 2. touched up names of pre-existing parts, to match actual names in sidebar; 3. syntactic nits (start description of Analysis with a capital letter); and 4. make numbered list use only 1. Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2025-04-11Auto merge of #139578 - ferrocene:pa-compiletest-edition, r=jieyouxubors-8/+8
Fix breakage when running compiletest with `--test-args=--edition=2015` Compiletest has an `--edition` flag to change the default edition tests are run with. Unfortunately no test suite successfully executes when that flag is passed. If the edition is set to something greater than 2015 the breakage is expected, since the test suite currently supports only edition 2015 (Ferrous Systems will open an MCP about fixing that soonish). Surprisingly, the test suite is also broken if `--edition=2015` is passed to compiletest. This PR focuses on fixing the latter. This PR fixes the two categories of failures happening when `--edition=2015` is passed: * Some edition-specific tests set their edition through `//@ compile-flags` instead of `//@ edition`. Compiletest doesn't parse the compile flags, so it would see no `//@ edition` and add another `--edition` flag, leading to a rustc error. * Compiletest would add the edition after `//@ compile-flags`, while some tests depend on flags passed to `//@ compile-flags` being the last flags in the rustc invocation. Note that for the first category, I opted to manually go and replace all `//@ compile-flags` setting an edition with an explicit `//@ edition`. We could've changed compiletest to instead check whether an edition was set in `//@ compile-flags`, but I thought it was better to enforce a consistent way to set the edition in tests. I also added the edition to the stamp, so that changing `--edition` results in tests being re-executed. r? `@jieyouxu`
2025-04-11Fix link to rustc_* TEST attributes in ui.mdStan Manilov-1/+1
2025-04-10dev-guide: Document `dont-require-annotations`Vadim Petrochenkov-17/+39
and its use cases in more detail
2025-04-10mention --edition restrictions in rustc-dev-guidePietro Albini-8/+8
2025-04-10rustc-dev-guide: document `needs-crate-type`Jieyou Xu-1/+6
2025-04-09Remove redundant wordstimesince-1/+1
2025-04-07improve flowTshepang Mbambo-2/+3
2025-04-07Merge from rustcThe rustc-dev-guide Cronjob Bot-0/+3
2025-04-07Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-04-06Fix deadlink in libs-and-metadata.mdLevi Zim-1/+1
2025-04-04Update book.toml fix the authors fieldGábor Szabó-1/+1
See https://rust-lang.github.io/mdBook/format/configuration/general.html#general-metadata
2025-04-03add some links about the rustdoc-gui test suitebinarycat-1/+5
2025-04-03Auto merge of #139301 - matthiaskrgr:rollup-sa6ali8, r=matthiaskrgrbors-410/+543
Rollup of 7 pull requests Successful merges: - #139080 (Experimental feature gate for `super let`) - #139145 (slice: Remove some uses of unsafe in first/last chunk methods) - #139149 (unstable book: document import_trait_associated_functions) - #139273 (Apply requested API changes to `cell_update`) - #139282 (rustdoc: make settings checkboxes always square) - #139283 (Rustc dev guide subtree update) - #139294 (Fix the `f16`/`f128` feature gates on integer literals) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-0/+3
2025-04-03test directive can appear anywhere in the fileTshepang Mbambo-1/+2
2025-04-02Merge from rustcJieyou Xu-11/+49
2025-04-02Preparing for merge from rustcJieyou Xu-1/+1
2025-03-30Fix partial clone linkclubby789-1/+1
2025-03-30add rustfmt settings fileTshepang Mbambo-127/+39
2025-03-30example assumes a static existsTshepang Mbambo-2/+2
This was removed, likely by mistake, during a refactor.
2025-03-29update rustc-{driver,interface} examplesTshepang Mbambo-13/+12
2025-03-29Merge pull request #2289 from y1lan/fix_compiler_err_of_examplesTshepang Mbambo-17/+16
Fix compile errors of all the examples
2025-03-30Merge pull request #2288 from rust-lang/tshepang-known-bug-takes-args许杰友 Jieyou Xu (Joe)-0/+8
mention that known-bug test directive takes arguments
2025-03-29mention that know-bug test directive takes argumentsTshepang Mbambo-0/+8
2025-03-29compiletest: Support matching diagnostics on lines belowVadim Petrochenkov-0/+15
2025-03-28Fix trivial typo of `BoundVariableKind`Samuel Tardieu-1/+1
2025-03-28Fix code generation linkSantiago Pastorino-1/+1
2025-03-27Delete from_method from rustc_on_unimplemented documentationmejrs-3/+0
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-4/+22
2025-03-24typoTshepang Mbambo-1/+1
2025-03-24add needed breakTshepang Mbambo-1/+2
2025-03-24Merge pull request #2299 from jieyouxu/test-jobs-reorg许杰友 Jieyou Xu (Joe)-11/+39
Slightly reorganize ecosystem tests, stub out codegen backend test pages
2025-03-23doc: fix reference to #create-a-configtomlChiichen-1/+1
2025-03-21Stub out codegen backend test pagesJieyou Xu-2/+28
2025-03-21Move Fuchsia and RfL under `ecosystem-test-jobs/` folderJieyou Xu-9/+11
Includes redirects to avoid breaking existing links.
2025-03-20Update `ParamEnv` section for `TypingEnv` changesBoxy-211/+211
2025-03-20Merge pull request #2199 from sagudev/patch-1Vadim Petrochenkov-3/+3
Fix rib example
2025-03-20Merge pull request #2295 from lolbinarycat/rustdoc-htmldocck许杰友 Jieyou Xu (Joe)-8/+119
add new section on the `rustdoc` test suite
2025-03-20Disambiguate between wg-llvm and icebreakers-llvm in rustc-dev-guideJieyou Xu-7/+10
2025-03-19use correct code block markersTshepang Mbambo-4/+3
This makes this command pass mdbook test --chapter "Remarks on perma-unstable features"
2025-03-19Set linkcheck in `ci.yml`Jakub Beránek-0/+1
2025-03-19Rollup merge of #138655 - Kobzol:rdg-sync, r=jieyouxuMatthias Krüger-32/+56
rustc-dev-guide sync r? `@jieyouxu`