about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2022-12-31Move information about dependencies to the rust-lang/rust readmeJoshua Nelson-50/+3
This avoids having to maintain the information in two places.
2022-12-31Move "create a config.toml" after the section explaning x.pyJoshua Nelson-12/+12
2022-12-31Remove unnecessary detail in building chapterJoshua Nelson-71/+16
Most of these details were not helpful or necessary for building the compiler for the first time. This section comes very early in the guide and is meant to be a tutorial, so being concise is very important.
2022-12-31Remove initial section on submodulesJoshua Nelson-12/+0
It's not necessary and it takes up valuable space at the very start of the guide.
2022-12-31Replace `$TARGET` with `host`Joshua Nelson-13/+8
This avoids having to manually modify the configuration in the docs.
2022-12-30Added link from Targets to Platform Support in the bookTrevor Gross-1/+4
2022-12-29Use `origin` consistently and add an example of rebasing over the wrong remoteJoshua Nelson-10/+27
2022-12-29Add more rebasing helpJoshua Nelson-2/+41
2022-12-27Fix doc comment parsingkraktus-2/+2
This can actually make a difference for the user if they rely on unicode formating. Prompted by https://github.com/dtolnay/syn/issues/771
2022-12-25Fix rustc_borrowck crate name typo (#1535)Dan Mezhiborsky-1/+1
2022-12-19Update booksrustbot-0/+0
2022-12-18Apply feedbackmejrs-4/+4
2022-12-18Add -Ztrack-diagnostics informationmejrs-1/+37
2022-12-17Auto merge of #105421 - jacobbramley:jb/branch-prot-check, r=nagisabors-1/+1
Check AArch64 branch-protection earlier in the pipeline. As suggested in #93516. r? `@nagisa`
2022-12-16remove relative links from `rustc-book` and `unstable-book`Ezra Shaw-23/+23
Co-authored-by: Joshua Nelson <github@jyn.dev>
2022-12-14Added PlayStation Vita supportAndrés Martínez-0/+129
2022-12-14Add documentation for LLVM KCFI support (#1529)Ramon de C Valle-3/+8
This commit adds initial documentation for LLVM Kernel Control Flow Integrity (KCFI) support to the Rust compiler (see rust-lang/rust#105109 and rust-lang/rust#89653).
2022-12-14typoTshepang Mbambo-1/+1
2022-12-14Replace NoLandingPad with another alive VisitorMohammad Omidvar-5/+3
The broken reference to the non-existing `NoLandingPad` is replaced by `LocalUseCounter` to fix this document.
2022-12-14Remove todo noteMohammad Omidvar-1/+0
2022-12-14Replace NoLandingPad with another alive MIR passMohammad Omidvar-4/+3
The broken reference to `NoLandingPad` is replaced by `RemoveStorageMarkers` to fix this document.
2022-12-10doc: document remap matching behaviour in rustc flagsAlexis (Poliorcetics) Bourget-0/+3
2022-12-10Rollup merge of #105109 - rcvalle:rust-kcfi, r=bjorn3Matthias Krüger-0/+30
Add LLVM KCFI support to the Rust compiler This PR adds LLVM Kernel Control Flow Integrity (KCFI) support to the Rust compiler. It initially provides forward-edge control flow protection for operating systems kernels for Rust-compiled code only by aggregating function pointers in groups identified by their return and parameter types. (See llvm/llvm-project@cff5bef.) Forward-edge control flow protection for C or C++ and Rust -compiled code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code share the same virtual address space) will be provided in later work as part of this project by identifying C char and integer type uses at the time types are encoded (see Type metadata in the design document in the tracking issue #89653). LLVM KCFI can be enabled with -Zsanitizer=kcfi. Thank you again, `@bjorn3,` `@eddyb,` `@nagisa,` and `@ojeda,` for all the help!
2022-12-08share same linkTshepang Mbambo-2/+2
2022-12-08chore: Update `actions/github-script` to v6Yuki Okushi-3/+2
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-08Add documentation for LLVM KCFI supportRamon de C Valle-0/+30
This commit adds initial documentation for LLVM Kernel Control Flow Integrity (KCFI) support to the Rust compiler (see #105109 and #89653). Co-authored-by: Miguel Ojeda <ojeda@users.noreply.github.com>
2022-12-09fix: Fix broken linksYuki Okushi-8/+9
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-08Remove TySOli Scherer-16/+14
2022-12-06Fix small inaccuracy in monomorph pageJared Harp-1/+1
2022-12-06unstable-book: Add `ignore` to `abi_efiapi` example codeNicholas Bishop-1/+1
This example doesn't compile on targets that don't support UEFI, as reported here: https://github.com/rust-lang/rust/pull/104793#issuecomment-1339783727
2022-12-06Correct branch-protection documentation.Jacob Bramley-1/+1
The branch-protection codegen option has always been treated as an error for non-AArch64 targets.
2022-12-05Update booksrustbot-0/+0
2022-12-04Remove duplicate paragraph (#1523)Anirudh S-5/+0
2022-12-03clarify subtree tool policy (#1518)Ralf Jung-2/+4
2022-12-03Typo (#1520)Samuel Moelius-2/+2
2022-11-29Rollup merge of #104523 - flba-eb:fix_nto_target_name, r=wesleywiserMatthias Krüger-11/+13
Don't use periods in target names Using a period in the target name can cause issues in e.g. cargo, see also https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Running.20tests.20on.20remote.20target
2022-11-29Rollup merge of #104465 - djkoloski:improve_fuchsia_testing_docs, r=tmandryMatthias Krüger-23/+60
Document more settings for building rustc for Fuchsia This documents that you need to link for Fuchsia with `lld` and provides configuration settings for both `clang` and `lld`. It also adjusts the documentation for running the test suite to recommend installing to a prefix. r? ``@tmandry``
2022-11-28Fix broken linkJoshua Nelson-1/+1
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-11-28Don't use "incremental" to refer to `--keep-stage`Joshua Nelson-2/+2
`-C incremental` is sound and --keep-stage is not.
2022-11-28Link directly to the section on `--keep-stage`Joshua Nelson-1/+3
2022-11-28Rollup merge of #104360 - petrochenkov:stabverb, r=TaKO8KiDylan DPC-20/+27
Stabilize native library modifier `verbatim` Stabilization report - https://github.com/rust-lang/rust/pull/104360#issuecomment-1312724787. cc https://github.com/rust-lang/rust/issues/81490 Closes https://github.com/rust-lang/rust/issues/99425
2022-11-27Auto merge of #104506 - ↵bors-1/+3
joshtriplett:style-principles-readability-in-plain-text, r=compiler-errors Expand a style-guide principle: readability in plain text
2022-11-27Stabilize native library modifier `verbatim`Vadim Petrochenkov-20/+27
2022-11-27do an actual link to detect if it breaks in future (#1517)Tshepang Mbambo-5/+5
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-11-26Triage some date-check items (#1513)Noah Lev-6/+6
2022-11-25Rollup merge of #104793 - nicholasbishop:bishop-add-efiapi, r=JohnTitorMatthias Krüger-0/+23
unstable-book: Add page for the `abi_efiapi` feature Tracking issue for `abi_efiapi`: https://github.com/rust-lang/rust/issues/65815
2022-11-23unstable-book: Add page for the `abi_efiapi` featureNicholas Bishop-0/+23
2022-11-22Update path for `try_mark_green` implementationGhassan Gedeon Achi-1/+1
Updates the location of the `try_mark_green` algorithm from `compiler/rustc_middle/src/dep_graph/graph.rs` to [`compiler/rustc_middle/src/dep_graph/graph.rs`](https://github.com/rust-lang/rust/blob/stable/compiler/rustc_query_system/src/dep_graph/graph.rs#L574) .
2022-11-20Fix a broken design docs link about unused substs bugYuki Okushi-1/+1
https://github.com/rust-lang/project-const-generics/pull/21 removed the link. This replaces it with an issue link mentioned on the design docs. Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-11-20updating-llvm: keep a calm tone (#1449)Tshepang Mbambo-14/+9
Co-authored-by: Yuki Okushi <jtitor@2k36.org>