about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2025-09-14Update CURRENT_RUSTC_VERSION post-bumpMark Rousskov-2/+2
2025-09-13Rollup merge of #146506 - mikysett:patch-1, r=UrgauJacob Pratt-1/+1
Fix small typo in check-cfg.md
2025-09-13Rollup merge of #146419 - thejpster:update-arm-target-docs, r=workingjubileeJacob Pratt-40/+264
Update the arm-* and aarch64-* platform docs. This PR updates some of the arm*-unknown-none target docs, and adds some missing target pages. ## aarch64-none-elf and aarch64-none-elf-softfloat The Rust Embedded Devices Working Group's Arm Team is added as a maintainer, and a target page is added. Links are added to the EDWG's support crates for this target. ## armv7a-none-eabi and armv7a-none-eabihf The Rust Embedded Devices Working Group's Arm Team is added as a maintainer, and a target page is added. Links are added to the EDWG's support crates for this target. ## armv7r-none-eabi and armv7r-none-eabihf The Rust Embedded Devices Working Group's Arm Team is added as a maintainer, and the target page is split from the Big Endian versions. Links are added to the EDWG's support crates for this target. ## armebv7r-none-eabi and armveb7r-none-eabihf The target page is split from the Little Endian versions. No change in maintainers. I have agreement to add EDWG/T-Arm as maintainers, which was voted upon in [their repo](https://github.com/rust-embedded/wg/issues/851).
2025-09-13Note that these targets are bare-metal.Jonathan 'theJPster' Pallant-13/+25
This is important to note, as it affects how easy it is to build a binary, and that `#![no_std]` is mandatory. A different PR should probably add this to all the other platform pages.
2025-09-13Fix small typo in check-cfg.mdMichele Sessa-1/+1
2025-09-12Re-order and re-work the aarch64-unknown-none platform support page.Jonathan 'theJPster' Pallant-60/+17
Removes a bunch of information that isn't, strictly speaking, target specific.
2025-09-12Remove bullet points from the target maintainer list for the arm bare-metal ↵Jonathan 'theJPster' Pallant-12/+12
targets
2025-09-12Add --print target-spec-json-schemaNoratrieb-0/+15
This schema is helpful for people writing custom target spec JSON. It can provide autocomplete in the editor, and also serves as documentation when there are documentation comments on the structs, as `schemars` will put them in the schema.
2025-09-11Insert missing word.Jonathan 'theJPster' Pallant-2/+2
2025-09-11Cleanups from review comments.Jonathan 'theJPster' Pallant-4/+3
2025-09-11Rollup merge of #146370 - heiher:update-loong-linux-docs, r=jieyouxuStuart Cook-8/+11
Update the LoongArch target documentation This patch defines minimum CPU feature requirements, updates toolchain baseline, and streamlines maintainer list: - Specify double-precision floating-point and LSX as mandatory CPU features - Raise the minimum required binutils version to 2.42+, due to relocations introduced by the default medium code model - Remove outdated maintainers to reduce irrelevant notifications r? `@jieyouxu`
2025-09-10Update aarch64-unknown-none.md to include -softfloat tooJonathan 'theJPster' Pallant-2/+2
2025-09-10Add aarch64-unknown-none to SUMMARY.mdJonathan 'theJPster' Pallant-0/+1
2025-09-10Add missing links in platform-support.mdJonathan 'theJPster' Pallant-2/+2
2025-09-10Pick up changes from robamu that I missed.Jonathan 'theJPster' Pallant-18/+28
From https://github.com/thejpster/rust/pull/1.
2025-09-10Update the arm-* and aarch64-* platform docs.Jonathan 'theJPster' Pallant-19/+264
The Rust Embedded Devices Working Group (wg-embedded) Arm Team (t-arm) agreed to listed as maintainers of: * aarch64-unknown-none * aarch64-unknown-none-softfloat * armv7a-none-eabi * armv7r-none-eabi * armv7r-none-eabihf The aarch64-unknown-none* target didn't have a page so I added it. wg-embedded t-arm did not want to take over: * armebv7r-none-eabi * armebv7r-none-eabihf So I gave them their own target page. The current maintainer remains.
2025-09-09Update the LoongArch target documentationWANG Rui-8/+11
This patch defines minimum CPU feature requirements, updates toolchain baseline, and streamlines maintainer list: - Specify double-precision floating-point and LSX as mandatory CPU features - Raise the minimum required binutils version to 2.42+, due to relocations introduced by the default medium code model - Remove outdated maintainers to reduce irrelevant notifications
2025-09-09Rollup merge of #146339 - rustbot:docs-update, r=ehussStuart Cook-0/+0
Update books ## rust-lang/nomicon 1 commits in 57ed4473660565d9357fcae176b358d7e8724ebf..f17a018b9989430967d1c58e9a12c51169abc744 2025-09-05 22:46:58 UTC to 2025-09-05 22:46:58 UTC - Add missing "C" ABI to FFI example code (rust-lang/nomicon#501) ## rust-lang/reference 7 commits in 89f67b3c1b904cbcd9ed55e443d6fc67c8ca2769..b3ce60628c6f55ab8ff3dba9f3d20203df1c0dee 2025-09-05 20:14:36 UTC to 2025-08-26 20:17:24 UTC - Ensure all lexical elements are SCREAMING_CASE (rust-lang/reference#1990) - Link out to the notation from grammar summary (rust-lang/reference#1989) - Or-patterns are extending (rust-lang/reference#1975) - Specify lifetime extension of `match` arms and `if` consequent/`else` block tail expressions (rust-lang/reference#1981) - clean up and properly test temporary lifetime extension in doctests (rust-lang/reference#1979) - Update `cold` and `inline` to use the attribute template (rust-lang/reference#1907) - Pluralize "syntax diagrams" (rust-lang/reference#1977) ## rust-lang/rust-by-example 1 commits in ad27f82c18464525c761a4a8db2e01785da59e1f..dd26bc8e726dc2e73534c8972d4dccd1bed7495f 2025-09-04 22:33:29 UTC to 2025-09-04 22:33:29 UTC - Fix drop order explanation in trait > drop (rust-lang/rust-by-example#1953)
2025-09-09Rollup merge of #139593 - lolbinarycat:sitemap, r=jieyouxuStuart Cook-0/+6
add sitemap to rust docs attempt to mitigate https://github.com/rust-lang/rust/issues/104670
2025-09-08Update booksrustbot-0/+0
2025-09-08Merge pull request #2573 from rust-lang/tshepang/make-more-clearTshepang Mbambo-2/+4
clarify typo pr guidance
2025-09-08Merge ref '2f3f27bf79ec' from rust-lang/rustThe rustc-josh-sync Cronjob Bot-76/+248
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 2f3f27bf79ec147fec9d2e7980605307a74067f4 Filtered ref: 82a5eafbafdb98eae68193600732388ae4135756 Upstream diff: https://github.com/rust-lang/rust/compare/a1dbb443527bd126452875eb5d5860c1d001d761...2f3f27bf79ec147fec9d2e7980605307a74067f4 This merge was created using https://github.com/rust-lang/josh-sync.
2025-09-08Prepare for merging from rust-lang/rustThe rustc-josh-sync Cronjob Bot-1/+1
This updates the rust-version file to 2f3f27bf79ec147fec9d2e7980605307a74067f4.
2025-09-07Rollup merge of #146170 - kumarUjjawal:master, r=Mark-SimulacrumMatthias Krüger-2/+4
fix: offline rustdoc html missing favicon As discussed in the rust-lang/rust#146149 the doc was missing the favicon icon when build locally and viewed on a browser. I changed the relative path and also now we explicitly copy both SVG and PNG. <img width="1132" height="425" alt="Screenshot 2025-09-03 at 11 57 46 PM" src="https://github.com/user-attachments/assets/062cbb08-04ec-4d88-a43a-710fb6190f82" />
2025-09-06Auto merge of #146233 - jieyouxu:run-make-fission, r=Kobzolbors-30/+39
Split `run-make` into two {`run-make`,`run-make-cargo`} test suites ## Summary Split `tests/run-make` into two test suites, to make it faster and more convenient for contributors to run run-make tests that do not need in-tree `cargo`. | New test suites | Explanation | | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `tests/run-make` | The "fast path" test suite intended for run-make tests that do not need in-tree `cargo`. These tests may not use `cargo`. | | `tests/run-make-cargo` | The "slow path" test suite that requires checking out `cargo` submodule and building in-tree `cargo`, and thus will have access to in-tree `cargo`. In practice, these constitute a very small portion of the original `run-make` tests. | This PR carries out [MCP 847: Split run-make test suite into slower-building test suite with suitably-staged cargo and faster-building test suite without cargo](https://github.com/rust-lang/compiler-team/issues/847). Fixes rust-lang/rust#135573 (for the tests that do not need in-tree `cargo`). Fixes rust-lang/rust#134109. ## Remarks - I considered if we want to split by in-tree tools previously. However, as discussed rust-lang/rust#134109, in practice `rustdoc` is not very slow to build, but `cargo` takes a good few minutes. So, the partition boundary was determined to be along in-tree `cargo` availability. - The `run-make` tests previously that wanted to use `cargo` cannot just use the bootstrap `cargo`, otherwise they would run into situations where bootstrap `cargo` can significantly diverge from in-tree `cargo` (see https://github.com/rust-lang/rust/pull/130642). --- try-job: aarch64-msvc-1 try-job: test-various try-job: x86_64-gnu-debug try-job: aarch64-gnu-debug try-job: aarch64-apple try-job: dist-various-1
2025-09-06reduce overlong physical lines (sembr)Tshepang Mbambo-20/+51
2025-09-06capitalize "zulip"Tshepang Mbambo-7/+7
2025-09-06Zulip streams have been renamed to channelsTshepang Mbambo-11/+11
https://blog.zulip.com/2024/07/25/zulip-9-0-released
2025-09-05Rollup merge of #145735 - joshtriplett:style-guide-trailing-whitespace, ↵León Orell Valerian Liehr-2/+10
r=joshtriplett style-guide: Document absence of trailing whitespace We didn't previously have a blanket prohibition on trailing whitespace. Adding one, inspired by discussion in https://github.com/rust-lang/rust/pull/145617 .
2025-09-05Rollup merge of #139113 - folkertdev:sanitizer-unstable-book-check-block, ↵León Orell Valerian Liehr-16/+16
r=rcvalle unstable book: in a sanitizer example, check the code Use some `#` directives to make sure the code checks on x86_64, and does not produce errors on other platforms. This example still used an older version of `#[naked]`, and because the snippet was ignored that was missed before. I'm not sure when this gets built on CI exactly, so it might be worthwhile to try and build it for a non-x86_64 architecture to make sure that works. I'm not sure how to verify locally that e.g. on aarch64 this code works without errors/warnings. try-job: aarch64-apple try-job: x86_64-msvc-2
2025-09-05Merge pull request #2422 from aDotInTheVoid/tenthousandyearsAlona Enraght-Moony-2/+84
Start documenting tests/rustdoc-json
2025-09-05Better linkAlona Enraght-Moony-1/+1
2025-09-05Consistent punctuationAlona Enraght-Moony-4/+4
2025-09-05Make footnote render correctly in githubAlona Enraght-Moony-2/+2
2025-09-05Update renamed `take_region_var_origins`Ada Alakbarova-2/+2
This was first renamed to `get_region_var_origins` in https://github.com/rust-lang/rust/pull/109753, and then to `get_region_var_infos` in https://github.com/rust-lang/rust/commit/b0fc1d47d5dcffb5d516059d4a5af3b6843132d5
2025-09-05Update link to `resolve_regions_and_report_errors`Ada Alakbarova-1/+1
Moved into `ObligationCtxt` in https://github.com/rust-lang/rust/commit/a19adefa0e5aca0aabca2430530577ee140e4efa
2025-09-05rustc-dev-guide: update docs for `run-make-cargo`Jieyou Xu-30/+39
2025-09-05avoid inline external linksTshepang Mbambo-3/+4
2025-09-05sembrTshepang Mbambo-3/+9
2025-09-05clarify typo pr guidanceTshepang Mbambo-2/+4
2025-09-04Fix user facing stringEmmet Horgan-2/+2
Signed-off-by: Emmet Horgan <emmet.horgan@analog.com>
2025-09-04Update src/compiler-debugging.md emmet-horgan-1/+1
Change to public abi Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
2025-09-04Update src/appendix/code-index.md emmet-horgan-1/+1
Fix display string Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
2025-09-04Rollup merge of #145682 - dpaoliello:arm64tier1, r=jieyouxuJacob Pratt-5/+2
Promote aarch64-pc-windows-msvc to Tier 1 Per <https://github.com/rust-lang/rfcs/pull/3817> Tracking issue: <https://github.com/rust-lang/rust/issues/145671>
2025-09-04Rollup merge of #146127 - Kobzol:rename-tool-rustc, r=jieyouxuStuart Cook-5/+2
Rename `ToolRustc` to `ToolRustcPrivate` I think that this name gets the point across much better. r? ````@jieyouxu````
2025-09-04Rollup merge of #146112 - scrabsha:push-utkysktvulto, r=WaffleLapkinStuart Cook-1/+1
don't uppercase error messages
2025-09-03Fix some broken linksEmmet Horgan-9/+9
Signed-off-by: Emmet Horgan <horgan098@gmail.com>
2025-09-04fix: offline rustdoc html missing faviconKumar Ujjawal-2/+4
2025-09-03don't uppercase error messagesSasha Pourcelot-1/+1
a more general version of https://github.com/rust-lang/rust/pull/146080. after a bit of hacking in [`fluent.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_fluent_macro/src/fluent.rs), i discovered that i'm not the only one that is bad at following guidelines :sweat_smile:. this pr lowercases the first letter of all the error messages in the codebase. (i did not change things that are traditionally uppercased such as _MIR_, _ABI_ or _C_) i think it's reasonable to run a `@bors try` so all the test suite is checked, as i cannot run some of the tests on my machine. i double checked (and replaced manually) all the old error messages, but better be safe than sorry. in the future i will try to add a check in `x test tidy` that errors if an error message starts with an uppercase letter.
2025-09-03unstable book: in a sanitizer example, check the codeFolkert de Vries-16/+16
this uses some # directives to make sure the code works on x86_64, and does not produce errors on other platforms