about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2020-10-28Fix broken tags in glossaryCamelid-88/+88
2020-10-28Update booksEric Huss-0/+0
2020-10-28Fix typo "compiltest"Guillaume Gomez-1/+1
2020-10-27Small improvements (#936)Santiago Pastorino-5/+5
* Fix typo errros -> errors * an -> a * hir -> hir()
2020-10-27Add "ctxt" and `TyCtxt` to the glossary (#937)Camelid-1/+3
2020-10-27Fix unstable-book doc testsSantiago Pastorino-3/+4
2020-10-26Clean up `compiletest` chapter (#935)Camelid-54/+52
2020-10-26Improve prerequisites section for Windows (#934)Yuki Okushi-18/+16
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-25Rollup merge of #78320 - phil-opp:patch-5, r=GuillaumeGomez,alexcrichtonYuki Okushi-1/+1
Link to cargo's `build-std` feature instead of `xargo` in custom target docs The `xargo` tool is in maintenance mode since 2018 and the `build-std` feature of cargo already works reasonably well for most use cases.
2020-10-24Link directly to `#build-std` anchorPhilipp Oppermann-1/+1
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2020-10-24Link to cargo's `build-std` feature instead of `xargo` in custom target docsPhilipp Oppermann-1/+1
The `xargo` tool is in maintenance mode since 2018 and the `build-std` feature of cargo already works reasonably well for most use cases.
2020-10-24Rollup merge of #78250 - camelid:document-inline-const, r=spastorinoJonas Schievink-0/+45
Document inline-const Part of #76001. r? @spastorino
2020-10-22Explain lint renaming/removingNadrieril-0/+15
2020-10-22Document inline-const in the Unstable BookCamelid-0/+45
2020-10-22fix formattingJoshua Nelson-1/+1
2020-10-22Improve markdown formattingJoshua Nelson-4/+9
2020-10-22Add a `check-in.sh` script to automate writing markdown linksJoshua Nelson-0/+34
Example usage: ``` $ ./check-in.sh usage: ./check-in.sh <since> <number-of-prs-merged> $ ./check-in.sh 2020-09-03 usage: ./check-in.sh <since> <number-of-prs-merged> help: you can find the number of PRs merged at https://github.com/rust-lang/rustc-dev-guide/pulls?q=is%3Apr+is%3Aclosed+updated%3A%3E2020-09-03 $ ./check-in.sh 2020-09-03 72 Authors: - **@1c3t3a** - **@arora-aman** ... snip ... Changes: - Replace links to `buildbot2.r-l.o` with `bors.r-l.o` [#929](https://github.com/rust-lang/rustc-dev-guide/pull/929) - Add reference PRs for `r?` and `r+` comments [#928](https://github.com/rust-lang/rustc-dev-guide/pull/928) ... snip ... Changes in progress: ```
2020-10-21Clean up and improve some docsCamelid-13/+15
* compiler docs * Don't format list as part of a code block * Clean up some other formatting * rustdoc book * Update CommonMark spec version to latest (0.28 -> 0.29) * Clean up some various wording and formatting
2020-10-21Add reference PRs for `r?` and `r+` comments (#928)Yuki Okushi-4/+7
2020-10-21Replace links to `buildbot2.r-l.o` with `bors.r-l.o`Yuki Okushi-5/+5
2020-10-19Revert "Remove outdated build rustdoc --stage 1"Joshua Nelson-1/+1
This reverts commit cd35d2b5944d8436350b7f2f16f5e720d9912db6.
2020-10-19Remove outdated build rustdoc --stage 1Ivan Tham-1/+1
It builds with stage 1 by default.
2020-10-19Fix typo errros -> errorsSantiago Pastorino-1/+1
2020-10-18Auto merge of #76885 - dylni:move-slice-check-range-to-range-bounds, r=KodrAusbors-10/+10
Move `slice::check_range` to `RangeBounds` Since this method doesn't take a slice anymore (#76662), it makes more sense to define it on `RangeBounds`. Questions: - Should the new method be `assert_len` or `assert_length`?
2020-10-16Explain why exhaustiveness is necessary for soundnessNadrieril-1/+2
2020-10-16Explain pattern exhaustiveness checkingNadrieril-1/+81
2020-10-15Fix a link on git.mdYuki Okushi-1/+1
2020-10-15Update submodules for link fixesJoshua Nelson-0/+0
- [rust-embedded](https://github.com/rust-embedded/book/compare/79ab7776929c66db83203397958fa7037d5d9a30...ca8169e69b479f615855d0eece7e318138fcfc00) - [cargo](https://github.com/rust-lang/cargo/compare/12db56cdedbc2c26a9aa18f994c0188cdcc67df5...79b397d72c557eb6444a2ba0dc00a211a226a35a)
2020-10-15Deny broken intra-doc links in linkcheckerJoshua Nelson-0/+2
Since rustdoc isn't warning about these links, check for them manually.
2020-10-15Rollup merge of #77951 - ehuss:update-books, r=ehussYuki Okushi-0/+0
Update books ## reference 5 commits in 56a13c082ee90736c08d6abdcd90462517b703d3..1b78182e71709169dc0f1c3acdc4541b6860e1c4 2020-09-14 23:20:16 -0700 to 2020-10-11 13:53:47 -0700 - Specify that SSE4.1 includes SSSE3 instead of SSE3 (rust-lang-nursery/reference#892) - Fix mutable expressions that can be dereferenced (rust-lang-nursery/reference#890) - Fix grammar in memory model (rust-lang-nursery/reference#889) - Add style checks. (rust-lang-nursery/reference#886) - Add description for LUB Coercion (rust-lang-nursery/reference#808) ## book 1 commits in cb28dee95e5e50b793e6ba9291c5d1568d3ad72e..451a1e30f2dd137aa04e142414eafb8d05f87f84 2020-09-09 10:06:00 -0500 to 2020-10-05 09:11:18 -0500 - clarify description of when ? can be used (rust-lang/book#2471) ## rust-by-example 1 commits in 7d3ff1c12db08a847a57a054be4a7951ce532d2d..152475937a8d8a1f508d8eeb57db79139bc803d9 2020-09-28 15:54:25 -0300 to 2020-10-09 09:29:50 -0300 - Add 1.45.0 cast documentation (rust-lang/rust-by-example#1384) ## embedded-book 2 commits in dd310616308e01f6cf227f46347b744aa56b77d9..79ab7776929c66db83203397958fa7037d5d9a30 2020-09-26 08:54:08 +0000 to 2020-10-12 08:00:05 +0000 - llvm-objdump: Use two hyphens in flags to objdump (rust-embedded/book#270) - Start/hardware: clarify which file needs tweaking (rust-embedded/book#266)
2020-10-14Add support for SHA256 source file hashing for LLVM 11+.Arlo Siemsen-1/+1
2020-10-14Update booksEric Huss-0/+0
2020-10-14Update codegen-backend.mdXAMPPRocky-0/+3
2020-10-14Update codegen-backend.mdXAMPPRocky-2/+2
2020-10-14Update src/doc/unstable-book/src/compiler-flags/codegen-backend.mdXAMPPRocky-1/+1
2020-10-14Document -Z codegen-backend in the unstable bookErin Power-0/+28
2020-10-14Rollup merge of #77239 - shepmaster:silicon-ci-plus, r=pietroalbiniYuki Okushi-1/+1
Enable building Cargo for aarch64-apple-darwin r? @ghost
2020-10-13aarch64-apple-darwin now includes CargoJake Goulding-1/+1
2020-10-13Auto merge of #76830 - Artoria2e5:tune, r=nagisabors-2/+18
Pass tune-cpu to LLVM I think this is how it should work... See https://internals.rust-lang.org/t/expose-tune-cpu-from-llvm/13088 for the background. Or the documentation diff.
2020-10-13Added description of word Scrutinee to the glossary (#921)1c3t3a-0/+1
2020-10-12Auto merge of #75914 - arlosi:aarch64-ci, r=pietroalbinibors-1/+1
Promote aarch64-pc-windows-msvc to Tier 2 Development Platform Adds a GitHub Actions CI build for `aarch64-pc-windows-msvc` via cross-compilation on an x86_64 host. This promotes `aarch64-pc-windows-msvc` from a Tier 2 Compilation Target (std) to a Tier 2 Development Platform (std+rustc+cargo+tools). Fixes #72881 r? `@pietroalbini`
2020-10-11Auto merge of #75991 - shepmaster:silicon-ci, r=pietroalbinibors-3/+3
Set up CI for aarch64-apple-darwin
2020-10-11Mention you will need recent versions of mdbook*Camelid-2/+2
2020-10-11Use official mdbook-linkcheck versionCamelid-5/+4
We were using an alpha version before, pinned to a Git hash, so that we could access a new feature (Michael-F-Bryan/mdbook-linkcheck#42). Now there is a point release though (0.7.1), so we can update to that!
2020-10-10Auto merge of #76934 - camelid:rustdoc-allow-generic-params, r=jyn514bors-13/+42
Allow generic parameters in intra-doc links Fixes #62834. --- The contents of the generics will be mostly ignored (except for warning if fully-qualified syntax is used, which is currently unsupported in intra-doc links - see issue #74563). * Allow links like `Vec<T>`, `Result<T, E>`, and `Option<Box<T>>` * Allow links like `Vec::<T>::new()` * Warn on * Unbalanced angle brackets (e.g. `Vec<T` or `Vec<T>>`) * Missing type to apply generics to (`<T>` or `<Box<T>>`) * Use of fully-qualified syntax (`<Vec as IntoIterator>::into_iter`) * Invalid path separator (`Vec:<T>:new`) * Too many angle brackets (`Vec<<T>>`) * Empty angle brackets (`Vec<>`) Note that this implementation *does* allow some constructs that aren't valid in the actual Rust syntax, for example `Box::<T>new()`. That may not be supported in rustdoc in the future; it is an implementation detail.
2020-10-10Auto merge of #77337 - lzutao:asm-mips64, r=Amanieubors-14/+13
Add asm! support for mips64 - [x] Updated `src/doc/unstable-book/src/library-features/asm.md`. - [ ] No vector type support. I don't know much about those types. cc #76839
2020-10-10Update installation instructions for `mdbook-linkcheck`LeSeulArtichaut-2/+3
2020-10-10Apply suggestions from code reviewLeSeulArtichaut-1/+12
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-10Talk about git submodulesLeSeulArtichaut-0/+75
2020-10-09Link to GitHub issue re macro resolutionCamelid-1/+3
Co-authored-by: Joshua Nelson <joshua@yottadb.com>