about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2020-09-09Add back information about GooglingCamelid-16/+20
Also cleaned up some other things.
2020-09-09Add back commaCamelid-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-09Add more info about RustdocCamelid-1/+4
2020-09-09Update "Helpful Links" sectionCamelid-14/+13
2020-09-09Reword `trivial_casts` lint to better explain.Andrew Lilley Brinker-1/+2
The current description of the trivial casts lint under the "allowed by default" listing in the rustc book indicates the lint is for lints which may be removed, which is less clear than saying it's for lints which may be replaced by coercion (which is the wording used by the error message included in the doc). This commit changes the wording slightly to better describe what the lint does.
2020-09-09Use imprecise times, because the time to build depends on your computerJoshua Nelson-1/+1
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-09-09Minor cleanup for "How to build and run"Camelid-10/+9
2020-09-09broken intra-page link from spanview to graphvizRich Kadel-1/+1
Just noticed the link was not correct. Fixed here.
2020-09-09Rollup merge of #76465 - jyn514:auto-versioning, r=elichaiTyler Mandry-0/+22
Add a script to automatically update Rust/Clang versions in documentation From https://github.com/rust-lang/rust/pull/76402#issuecomment-687974508. r? @elichai
2020-09-09Rollup merge of #76430 - pickfire:patch-7, r=steveklabnikTyler Mandry-2/+2
Add align to rustc-attrs unstable book
2020-09-09Fix nitJoshua Nelson-1/+1
2020-09-09Update src/building/new-target.mdTshepang Lekhonkhobe-1/+1
2020-09-09Document how to promote a target from cross-compiled to hostedJoshua Nelson-0/+9
2020-09-09Update src/queries/profiling.mdSantiago Pastorino-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-09Update def_id.rs locationSantiago Pastorino-1/+1
2020-09-09Fix typo, hellow -> helloSantiago Pastorino-1/+1
2020-09-09Add ./ to run x.pySantiago Pastorino-1/+1
2020-09-09Update prerequisites, with an eye towards windows (#863)Joshua Nelson-6/+14
* Update prerequisites, with an eye towards windows * Address review comments - Say version of MSVC needed - Link to more details windows section - Fix grammar
2020-09-09Fix broken hyperlink (#862)Joshua Nelson-1/+3
* Fix broken hyperlink * Link to previous pages instead of skipping ahead * Fix line lengths
2020-09-09Add information about default stages for x.pyJoshua Nelson-0/+14
2020-09-09Fix typoJoshua Nelson-1/+1
2020-09-09Document speculative crate loading (#859)Joshua Nelson-0/+17
2020-09-09Rollup merge of #76402 - elichai:patch-2, r=wesleywiserDylan DPC-12/+15
Update linker-plugin-lto.md to contain up to rust 1.46 Hi, this is the same as https://github.com/rust-lang/rust/pull/72290, if anyone has suggestions on how to automate this please say :) otherwise, you can check the versions I've added via: ```sh $ rustup install 1.44.0 $ rustc +1.44.0 -Vv rustc 1.44.0 (49cae5576 2020-06-01) binary: rustc commit-hash: 49cae55760da0a43428eba73abcb659bb70cf2e4 commit-date: 2020-06-01 host: x86_64-unknown-linux-gnu release: 1.44.0 LLVM version: 9.0 $ rustup install 1.45.0 $ rustc +1.45.0 -Vv rustc 1.45.0 (5c1f21c3b 2020-07-13) binary: rustc commit-hash: 5c1f21c3b82297671ad3ae1e8c942d2ca92e84f2 commit-date: 2020-07-13 host: x86_64-unknown-linux-gnu release: 1.45.0 LLVM version: 10.0 $ rustup install 1.46.0 $ rustc +stable -Vv rustc 1.46.0 (04488afe3 2020-08-24) binary: rustc commit-hash: 04488afe34512aa4c33566eb16d8c912a3ae04f9 commit-date: 2020-08-24 host: x86_64-unknown-linux-gnu release: 1.46.0 LLVM version: 10.0 ```
2020-09-08Update error codes to match the current implementationJoshua Nelson-12/+16
- All codes are in one crate, `rustc_error_codes` - Extended descriptions are loaded using `include_str!` - Give an example of a PR adding an error code
2020-09-07Add a script to automatically update Rust/Clang versionsJoshua Nelson-0/+22
2020-09-08Unstable book rust-attrs does not work on genericsIvan Tham-1/+1
Co-authored-by: Peter Todd <pete@petertodd.org>
2020-09-07Consolidate information about bootstrapping into one place (#851)Joshua Nelson-50/+38
Previously, 'How to build and run' had a long section on the different stages of boostrap. But new contributors aren't interested in bootstrap; they want to start their build (because they heard it takes forever and want to start it so they aren't waiting more than necessary). This moves the section on stages into the bootstrapping page, and links there instead of discussing it on the main page.
2020-09-07Document CGU partioning in case of generic and inline functionsAman Arora-0/+20
2020-09-07Update src/building/how-to-build-and-run.mdTshepang Lekhonkhobe-1/+1
2020-09-07Link to 'prerequisites' immediatelyJoshua Nelson-0/+3
Several of the commands on 'how to build' use python. But we haven't yet told the user how to install it! Do that first before going into detail on how x.py works.
2020-09-07Add align to rustc-attrs unstable bookIvan Tham-2/+2
2020-09-06Rename src/rustc to compiler/rustcIvan Tham-2/+2
2020-09-06linker-plugin-lto.md: Convert the rust-clang MxN table to a 2xM tableElichai Turkel-15/+15
2020-09-06Update linker-plugin-lto.md to contain up to rust 1.46Elichai Turkel-12/+15
2020-09-05Adjust documentation for slice_check_rangedylni-0/+10
2020-09-05Rollup merge of #75954 - ArekPiekarz:unstable_book_ffi_tracking_issues, ↵Dylan DPC-0/+10
r=steveklabnik Unstable Book: add links to tracking issues for FFI features
2020-09-03update docs to refer to the moveGus Wynn-7/+4
2020-09-03Fix dep-graph-caller-callee test locationSantiago Pastorino-3/+3
2020-09-02Update booksEric Huss-0/+0
2020-09-02Adds documentation to cover spanview outputRich Kadel-3/+29
Documents the feature introduced in #76074.
2020-09-01Rollup merge of #76212 - JesHansen:fix-lint-doc, r=jyn514Tyler Mandry-1/+1
Document lint missing_doc_code_examples is nightly-only Closes #76194
2020-09-01Document lint missing_doc_code_examples is nightly-onlyJes Bak Hansen-1/+1
2020-08-31Stabilise link-self-contained optionMateusz Mikuła-4/+16
2020-08-31Use fewer stages in bootstrapping docsJoshua Nelson-2/+2
After https://github.com/rust-lang/rust/pull/73964, they're redundant.
2020-08-31Fix misguided suggestions in config.tomlJoshua Nelson-8/+0
- `verbose-tests` is for debugging the test harness, not the tests themselves. See also https://github.com/rust-lang/rust/pull/76141 - `codegen-units` defaults to `256` whenever `incremental = true`. So there's no need to explicitly set it to `0` if we already recommend incremental. See also https://github.com/rust-lang/rustc-dev-guide/pull/795#discussion_r479762977.
2020-08-31TypoWho? Me?!-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-31fix typosmark-3/+3
2020-08-31fix line lengthsmark-3/+4
2020-08-31fix links and names after compiler mv to compiler/mark-146/+145
2020-08-30Auto merge of #75919 - rust-lang:jonas-schievink-patch-1, r=ehussbors-1/+1
Fix typo (`thumbv8m.main-none-eabihf` is Mainline)