diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-02-01 05:39:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-01 05:39:41 +0000 |
| commit | b82463fcbfd2ed60a77003261445df0f430a3e50 (patch) | |
| tree | 532e602a81dd19c551f37b0cdc93e5b811c4b13b /src/doc/rustc-dev-guide | |
| parent | 829bfc3f5ee4c4826b2571da419722e3242aa155 (diff) | |
| parent | c925c826bf4eb093f1b6bcded7a4b99a9d489851 (diff) | |
| download | rust-b82463fcbfd2ed60a77003261445df0f430a3e50.tar.gz rust-b82463fcbfd2ed60a77003261445df0f430a3e50.zip | |
Merge pull request #4169 from rust-lang/rustup-2025-02-01
Automatic Rustup
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/new-target.md | 5 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/compiler-debugging.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/conventions.md | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/new-target.md b/src/doc/rustc-dev-guide/src/building/new-target.md index 1d9fa1b52d5..cd215277e69 100644 --- a/src/doc/rustc-dev-guide/src/building/new-target.md +++ b/src/doc/rustc-dev-guide/src/building/new-target.md @@ -4,8 +4,13 @@ These are a set of steps to add support for a new target. There are numerous end states and paths to get there, so not all sections may be relevant to your desired goal. +See also the associated documentation in the +[target tier policy][target_tier_policy_add]. + <!-- toc --> +[target_tier_policy_add]: https://doc.rust-lang.org/rustc/target-tier-policy.html#adding-a-new-target + ## Specifying a new LLVM For very new targets, you may need to use a different fork of LLVM diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md index a2a6c8085df..e2097b26e5c 100644 --- a/src/doc/rustc-dev-guide/src/compiler-debugging.md +++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md @@ -275,7 +275,7 @@ Here are some notable ones: | `rustc_dump_def_parents` | Dumps the chain of `DefId` parents of certain definitions. | | `rustc_dump_item_bounds` | Dumps the [`item_bounds`] of an item. | | `rustc_dump_predicates` | Dumps the [`predicates_of`] an item. | -| `rustc_dump_vtable` | | +| `rustc_dump_vtable` | Dumps the vtable layout of an impl, or a type alias of a dyn type. | | `rustc_hidden_type_of_opaques` | Dumps the [hidden type of each opaque types][opaq] in the crate. | | `rustc_layout` | [See this section](#debugging-type-layouts). | | `rustc_object_lifetime_default` | Dumps the [object lifetime defaults] of an item. | diff --git a/src/doc/rustc-dev-guide/src/conventions.md b/src/doc/rustc-dev-guide/src/conventions.md index 4010e90821f..0e624a4566d 100644 --- a/src/doc/rustc-dev-guide/src/conventions.md +++ b/src/doc/rustc-dev-guide/src/conventions.md @@ -43,7 +43,7 @@ environment. ## Formatting and linting Python code -The Rust repository contains quite a lof of Python code. We try to keep +The Rust repository contains quite a lot of Python code. We try to keep it both linted and formatted by the [ruff][ruff] tool. When modifying Python code, use this command to format it: |
