about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2023-04-03update rust-by-examplePietro Albini-0/+0
2023-04-03update rustc dev guidePietro Albini-0/+0
2023-04-03add a few more TOC sectionsJoshua Nelson-4/+16
2023-04-03Remove duplicate section on new features in CONTRIBUTING.mdJoshua Nelson-22/+2
2023-04-03Link to bug-fix-procedure.md from the contribution procedure sectionJoshua Nelson-26/+12
2023-04-03Rearrange the "getting started" and contributing.md sectionsJoshua Nelson-246/+216
There was a lot of information duplicated between the two, and it wasn't clear which one to look. This commit changes `contributing.md` to be strictly for contribution procedures, and moves "what should I work on" sections to "Getting Started". This also consolidates the links in `about-this-guide.md` rather than spreading them between about-this-guide, getting-started, and contributing. I suggest using https://rustc-dev-guide.org/git.html#moving-large-sections-of-code to review this commit.
2023-04-03Outline the external repositories sectionJoshua Nelson-144/+160
This is advanced info that most contributors won't need to know; and for experienced contributors, it means the info is at the top of the page instead of needing to scroll.
2023-04-03Move some info from "Getting Started" to "How to build and run"Joshua Nelson-84/+33
"Getting Started" is already *very* long; this shrinks it a bit, and puts similar info closer together.
2023-04-03Make REUSE ignore section heading as a copyright statement (#1659)Pietro Albini-0/+3
2023-04-03update bookPietro Albini-0/+0
2023-04-02Update some links and information for cargo-bisect-rustc (#1657)Eric Huss-33/+8
2023-04-01update rustc_driver examples (#1655)Tshepang Mbambo-5/+7
2023-04-01Auto merge of #109721 - QuinnPainter:armv4t-lld, r=petrochenkovbors-7/+0
Switch to LLD as default linker for {arm,thumb}v4t-none-eabi The LLVM 16 update brought ARMv4t support to LLD. We should use it by default so users don't need to install an external linker. cc `@Lokathor`
2023-03-31Stabilize rustdoc `--test-run-directory`Arpad Borsos-1/+26
2023-03-31More in-depth documentation for the new debuginfo optionsJulia Tatz-2/+2
2023-03-31Preserve, clarify, and extend debug informationJulia Tatz-3/+5
`-Cdebuginfo=1` was never line tables only and can't be due to backwards compatibility issues. This was clarified and an option for line tables only was added. Additionally an option for line info directives only was added, which is well needed for some targets. The debug info options should now behave the same as clang's debug info options.
2023-03-30Update documentation for rustc_doc_primitiveGuillaume Gomez-3/+3
2023-03-30Remove mention of `missing_doc_code_examples` lint from rustdoc bookGuillaume Gomez-3/+10
2023-03-30Fix title for openharmony.mdAmanieu d'Antras-1/+1
2023-03-29Add QNX 7.0 x86 targetSam Kearney-3/+13
2023-03-29Switch to LLD as default linker for {arm,thumb}v4t-none-eabiQuinn Painter-7/+0
2023-03-29Auto merge of #108792 - Amanieu:ohos, r=petrochenkovbors-0/+131
Add OpenHarmony targets - `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos` Compiler team MCP: https://github.com/rust-lang/compiler-team/issues/568
2023-03-28Add OpenHarmony targetsAmanieu d'Antras-0/+131
- `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos`
2023-03-28Rollup merge of #109669 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/nomicon 1 commits in 1f3e4cd4fd88b5b5d45feb86a11b6d2f93e5a974..b5f7500fc40775096c2bbd204eae096612cf9047 2023-03-27 13:47:36 UTC to 2023-03-27 13:47:36 UTC - Fix typo in 3.8 Subtyping and Variance (rust-lang/nomicon#395) ## rust-lang/reference 4 commits in 24c87f6663aed55b05d2cc286878f28f21918825..3c47807a3131b3c7cacb508f52632078d253cd0a 2023-03-26 18:42:43 UTC to 2023-03-14 18:28:23 UTC - Relax ordering rules for `asm!` operands (rust-lang/reference#1323) - Improve labeled blocks documentation (rust-lang/reference#1342) - Inline assembly: Fix repeated and unordered items in guaranteed directives (rust-lang/reference#1341) - Clarify that free constants are always evaluated at compile time (rust-lang/reference#1328) ## rust-lang/rust-by-example 7 commits in af0998b7473839ca75563ba3d3e7fd0160bef235..cfbfd648ce33926c3490f24de9a5b56cce404b88 2023-03-21 12:05:17 UTC to 2023-03-21 11:58:20 UTC - Fix two typos in the asm chapter (rust-lang/rust-by-example#1692) - Change `runtime` error to `compile time` error (rust-lang/rust-by-example#1690) - Fix tests running on non-x86 platforms. (rust-lang/rust-by-example#1687) - Remove trailing semicolon from macro expression (rust-lang/rust-by-example#1683) - Explained why it should not work in Chapter 4.1 (rust-lang/rust-by-example#1682) - Fix comment to mention the correct type of error (rust-lang/rust-by-example#1680) - Improve the content for `read_lines` (rust-lang/rust-by-example#1679) ## rust-lang/rustc-dev-guide 9 commits in b1b6d693cd1461e53de4132c1b183ace31cd36e5..d08baa166b463537229eeb737c4ccadabd83cf78 2023-03-26 17:55:53 UTC to 2023-03-14 03:50:20 UTC - Add locale_resources (rust-lang/rustc-dev-guide#1651) - Don't require $GITHUB_TOKEN to build locally (rust-lang/rustc-dev-guide#1652) - bootsrapping stages overview list (rust-lang/rustc-dev-guide#1555) - Update labels overview (rust-lang/rustc-dev-guide#1639) - first mention of type, and add a link (rust-lang/rustc-dev-guide#1643) - Add SIP solution for macOS users (rust-lang/rustc-dev-guide#1636) - Add chapter on fuzzing (rust-lang/rustc-dev-guide#1646) - Fix "Crate disambiguator" in libs-and-metadata.md (rust-lang/rustc-dev-guide#1648) - Update rustdoc-internals.md (rust-lang/rustc-dev-guide#1644)
2023-03-27Bless tidyMaybe Waffle-1/+1
2023-03-27Update booksrustbot-0/+0
2023-03-26Add locale_resources (#1651)Nathan Hammond-0/+1
2023-03-27Don't require $GITHUB_TOKEN to build locally (#1652)jyn-8/+15
2023-03-26Rollup merge of #109593 - coop-rs:missing_doc_code_examples, r=GuillaumeGomezMatthias Krüger-1/+1
Rustdoc Book refer to rustdoc::missing_doc_code_examples. Fixes #109592. Fixes #109592. But, please see a related question at #109592 (item `2.`).
2023-03-25Rustdoc Book refer to rustdoc::missing_doc_code_examples. Fixes #109592.Peter Kehl-1/+1
2023-03-24Rollup merge of #108629 - notriddle:notriddle/item-type-advanced, ↵Matthias Krüger-5/+12
r=GuillaumeGomez rustdoc: add support for type filters in arguments and generics This makes sense, since the search index has the information in it, and it's more useful for function signature searches since a function signature search's item type is, by definition, some type of function (there's more than one, but not very many).
2023-03-23bootsrapping stages overview listShahar Dawn Or-4/+11
2023-03-22Change text -> rust,ignore highlighting in sanitizer.mdTrevor Gross-2/+2
Marked ignore due to difficulty getting doctests to pass cross-platform
2023-03-21Update labels overview (#1639)Eric Huss-55/+91
2023-03-21first mention of type, and add a link (#1643)Tshepang Mbambo-1/+2
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2023-03-21Add SIP solution for macOS users (#1636)Yukang-0/+10
2023-03-20doc: add generics improvements to rustdoc bookMichael Howell-5/+12
2023-03-16Reword to include 'distractions'Langston Barrett-2/+2
2023-03-16Mention debug assertions labelLangston Barrett-0/+5
2023-03-16Mention debug assertionsLangston Barrett-0/+10
2023-03-16Address review commentsLangston Barrett-7/+9
2023-03-16mir-opt*-level*, not mir-optLangston Barrett-2/+2
2023-03-16Address review commentsLangston Barrett-8/+35
2023-03-16Add chapter on fuzzingLangston Barrett-0/+106
2023-03-16Fix "Crate disambiguator" in libs-and-metadata.mdHoblovski-3/+2
2023-03-14Rollup merge of #108722 - petrhosek:fuchsia-riscv, r=petrochenkovMatthias Krüger-0/+1
Support for Fuchsia RISC-V target Fuchsia is in the process of implementing the RISC-V support. This change implements the minimal Rust compiler support. The support for building runtime libraries will be implemented in follow up changes once Fuchsia SDK has the RISC-V support.
2023-03-14alert when date gets stale (by using date-check annotation)Tshepang Mbambo-1/+2
2023-03-14fix date-check annotation some moreTshepang Mbambo-1/+1
2023-03-14fix date-check annotationTshepang Mbambo-1/+1
2023-03-14typoTshepang Mbambo-1/+1