about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
AgeCommit message (Collapse)AuthorLines
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`
2025-03-18update filename in linkbinarycat-1/+1
2025-03-18normalize link titlesbinarycat-2/+2
2025-03-18clean up wording/grammar and mention double quotesbinarycat-4/+5
2025-03-18rename htmldocck.md -> rustdoc-test-suite.mdbinarycat-1/+1
2025-03-18rustdoc test suite: clean up wording and introbinarycat-3/+6
2025-03-18htmldocck: expand limitations and mention compiletest directivesbinarycat-3/+9
2025-03-18add htmldocck.md to SUMMARY.mdbinarycat-1/+1
2025-03-18add new section on the `rustdoc` test suitebinarycat-8/+109
2025-03-18Add Fuchsia ping group pageJakub Beránek-2/+16
2025-03-18Reorder RfL tests page to move the "what if it breaks" section to the topJakub Beránek-20/+20
2025-03-18Add Fuchsia ping group noticeJakub Beránek-0/+8
2025-03-18Merge pull request #2268 from xizheyin/issue-137421许杰友 Jieyou Xu (Joe)-0/+56
Add issue link for explaining that why rustc_private linker fails
2025-03-18Add chapter Remarks on perma-unstable featuresxizheyin-0/+56
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-03-18Merge from rustcJieyou Xu-56/+56
2025-03-18Preparing for merge from rustcJieyou Xu-1/+1
2025-03-17Rollup merge of #138533 - Kobzol:try-job-auto-tests, r=marcoieniMatthias Krüger-0/+2
Only use `DIST_TRY_BUILD` for try jobs that were not selected explicitly Some CI jobs (x64 Linux, ARM64 Linux and x64 MSVC) use the `opt-dist` tool to build an optimized toolchain using PGO and BOLT. When performing a default try build for x64 Linux, in most cases we want to run perf. on that artifact. To reduce the latency of this common use-case, `opt-dist` skips building several components not needed for perf., and it also skips running post-optimization tests, when it detects that the job is executed as a try job (not a merge/auto job). This is useful, but it also means that if you *want* to run the tests, you had to go to `jobs.yml` and manually comment this environment variable, create a WIP commit, do a try build, and then remove the WIP commit, which is annoying (in the similar way that modifying what gets run in try builds was annoying before we had the `try-job` annotations). I thought that we could introduce some additional PR description marker like `try-job-run-tests`, but it's hard to discover that such things exist. Instead, I think that there's a much simpler heuristic for determining whether `DIST_TRY_BUILD` should be used (that I implemented in this PR): - If you do just ``@bors` try`, without any custom try jobs selected, `DIST_TRY_BUILD` will be activated, to finish the build as fast as possible. - If you specify any custom try jobs, you are most likely doing experiments and you want to see if tests pass and everything builds as it should. The `DIST_TRY_BUILD` variable will thus *not* be set in this case. In this way, if you want to run dist tests, you can just add the `try-job: dist-x86_64-linux` line to the PR description, and you don't need to create any WIP commits. r? `@marcoieni`
2025-03-17replace config.toml to bootstrap.toml in src:doc:rustc-dev-guidebit-aloo-56/+56
2025-03-16expand ${workspaceFolder} in sample vim configjyn-1/+25
2025-03-16Add a note to rustc-dev-guideJakub Beránek-0/+2
2025-03-16Following commit 401dd84 in the Rust projectYang Lin-4/+7
(https://github.com/rust-lang/rust), `ErrorGuaranteed` was replaced by fatal errors. As a result, `tcx.analysis()` now aborts directly instead of returning an error guard. To accommodate this change, this update replaces `tcx.analysis()` with `typeck()` to perform type checking in the example.
2025-03-16Adapt to rust-lang/rust#136466:Yang Lin-13/+9
Start removing `rustc_middle::hir::map::Map` Following commit f86f7ad from pull request #136466 in the Rust project (https://github.com/rust-lang/rust), some methods in `Map` were moved to `TyCtxt`. This update reimplements `rustc-drive-example.rs`, `rustc-driver-interacting-with-the-ast.rs`, and `rustc-interface-example.rs` using the new versions of these methods, ensuring compatibility with the nightly-2025-03-08 toolchain.
2025-03-15add some copy-paste goodnessTshepang Mbambo-3/+3
2025-03-15make 'mdbook test --chapter "Running tests"' passTshepang Mbambo-1/+1
2025-03-15those should not get shell highlightingTshepang Mbambo-24/+24
2025-03-14Fix MCP linksJakub Beránek-2/+2
2025-03-14Merge pull request #2283 from jieyouxu/sync许杰友 Jieyou Xu (Joe)-78/+40
Rustc pull
2025-03-13Fix grammar and remove redundant infoKonaeAkira-2/+1
2025-03-13Remove the doc for `no-system-llvm`Josh Stone-1/+0
This compiletest directive was removed in rust-lang/rust#120265.
2025-03-13Document `fetch.prunetags = true` gotcha during rustc-pull许杰友 Jieyou Xu (Joe)-0/+13
2025-03-13Merge from rustc许杰友 Jieyou Xu (Joe)-77/+39
2025-03-13Preparing for merge from rustc许杰友 Jieyou Xu (Joe)-1/+1
2025-03-13less text for same effectTshepang Mbambo-3/+2
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-2/+2
Continuing the work from #137350. Removes the unused methods: `expect_variant`, `expect_field`, `expect_foreign_item`. Every method gains a `hir_` prefix.