about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2025-03-24Update booksrustbot-0/+0
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-23Rework `--print` options documentationUrgau-52/+214
2025-03-23Document `supported-crate-types` print request in unstable bookJieyou Xu-0/+27
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-21remove `feature(inline_const_pat)`lcnr-22/+0
2025-03-21Rollup merge of #138694 - LuuuXXX:fix-platform-support-book, r=jieyouxuMatthias Krüger-3/+3
Fix: add ohos target notes
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-19Add mipsel maintainerLukas Woodtli-1/+30
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-19Fix: add ohos target notesLuuuXXX-3/+3
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-18Auto merge of #138630 - matthiaskrgr:rollup-kk1gogr, r=matthiaskrgrbors-0/+2
Rollup of 7 pull requests Successful merges: - #138384 (Move `hir::Item::ident` into `hir::ItemKind`.) - #138508 (Clarify "owned data" in E0515.md) - #138531 (Store test diffs in job summaries and improve analysis formatting) - #138533 (Only use `DIST_TRY_BUILD` for try jobs that were not selected explicitly) - #138556 (Fix ICE: attempted to remap an already remapped filename) - #138608 (rustc_target: Add target feature constraints for LoongArch) - #138619 (Flatten `if`s in `rustc_codegen_ssa`) r? `@ghost` `@rustbot` modify labels: rollup
2025-03-18Merge from rustcJieyou Xu-156/+281
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-17Auto merge of #138611 - matthiaskrgr:rollup-hmjbqva, r=matthiaskrgrbors-32/+27
Rollup of 7 pull requests Successful merges: - #133870 (Stabilize `asm_goto` feature gate) - #137449 (Denote `ControlFlow` as `#[must_use]`) - #137465 (mir_build: Avoid some useless work when visiting "primary" bindings) - #138349 (Emit function declarations for functions with `#[linkage="extern_weak"]`) - #138412 (Install licenses into `share/doc/rust/licenses`) - #138577 (rustdoc-json: Don't also include `#[deprecated]` in `Item::attrs`) - #138588 (Avoid double lowering of idents) Failed merges: - #138321 ([bootstrap] Distribute split debuginfo if present) r? `@ghost` `@rustbot` modify labels: rollup
2025-03-17Auto merge of #137081 - ↵bors-114/+114
Shourya742:2025-02-15-change-config.toml-to-bootstrap.toml, r=onur-ozkan,jieyouxu,kobzol change config.toml to bootstrap.toml Currently, both Bootstrap and Cargo uses same name as their configuration file, which can be confusing. This PR is based on a discussion to rename `config.toml` to `bootstrap.toml` for Bootstrap. Closes: https://github.com/rust-lang/rust/issues/126875. I have split the PR into atomic commits to make it easier to review. Once the changes are finalized, I will squash them. I am particularly concerned about the changes made to modules that are not part of Bootstrap. How should we handle those changes? Should we ping the respective maintainers?
2025-03-17Rollup merge of #133870 - nbdd0121:asm, r=traviscross,nnethercoteMatthias Krüger-32/+27
Stabilize `asm_goto` feature gate Stabilize `asm_goto` feature (tracked by #119364). The issue will remain open and be updated to track `asm_goto_with_outputs`. Reference PR: https://github.com/rust-lang/reference/pull/1693 # Stabilization Report This feature adds a `label <block>` operand type to `asm!`. `<block>` must be a block expression with type unit or never. The address of the block is substituted and the assembly may jump to the block. When block completes the `asm!` block returns and continues execution. The block starts a new safety context and unsafe operations within must have additional `unsafe`s; the effect of `unsafe` that surrounds `asm!` block is cancelled. See https://github.com/rust-lang/rust/issues/119364#issuecomment-2316037703 and https://github.com/rust-lang/rust/pull/131544. It's currently forbidden to use `asm_goto` with output operands; that is still unstable under `asm_goto_with_outputs`. Example: ```rust unsafe { asm!( "jmp {}", label { println!("Jumped from asm!"); } ); } ``` Tests: - tests/ui/asm/x86_64/goto.rs - tests/ui/asm/x86_64/goto-block-safe.stderr - tests/ui/asm/x86_64/bad-options.rs - tests/codegen/asm/goto.rs
2025-03-17Stabilize asm_gotoGary Guo-32/+27
2025-03-17Rollup merge of #138586 - jyn514:doc-register-tool, r=jieyouxuJacob Pratt-0/+55
Document `#![register_tool]` cc https://github.com/rust-lang/rust/issues/66079
2025-03-17Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboetJacob Pratt-1/+1
Add std support to cygwin target
2025-03-17replace config.toml to bootstrap.toml in src:doc:unstable-bookbit-aloo-1/+1
2025-03-17replace config.toml to bootstrap.toml in src:doc:rustcbit-aloo-57/+57
2025-03-17replace config.toml to bootstrap.toml in src:doc:rustc-dev-guidebit-aloo-56/+56
2025-03-17Document `#![register_tool]`jyn-0/+55
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-16Auto merge of #137011 - LuuuXXX:promote-ohos-with-host-tools, r=Amanieubors-4/+18
Promote ohos targets to tier2 with host tools. ### What does this PR try to resolve? Try to promote the following [[Tier 2 without Host Tools](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-without-host-tools)](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-without-host-tools) targets to [[Tier 2 with Host Tools](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools)](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools): - `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos` - `x86_64-unknown-linux-ohos` ### More Information? see MCP: https://github.com/rust-lang/compiler-team/issues/811 ### Blockage to be solved? - [x] Submit an MCP - [x] Submit code of promote ohos targets - [x] Resolve related dependencies (`measureme`) The modified code of the measureme has been merged (see https://github.com/rust-lang/measureme/pull/238). [done] The new version will was released (https://github.com/rust-lang/measureme/pull/240). [done]