Skip to content

Commit 3e88882

Browse files
authored
Rollup merge of #134610 - tbu-:pr_doc_target_fmt, r=Noratrieb
Format `build.toml` consistently in platform support docs Also fix compiler team name in target tier docs.
2 parents aea4e43 + ea75d05 commit 3e88882

8 files changed

+8
-8
lines changed

src/doc/rustc/src/platform-support/arm64e-apple-darwin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can build Rust with support for the targets by adding it to the `target` lis
2020

2121
```toml
2222
[build]
23-
target = [ "arm64e-apple-darwin" ]
23+
target = ["arm64e-apple-darwin"]
2424
```
2525

2626
## Building Rust programs

src/doc/rustc/src/platform-support/arm64e-apple-ios.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can build Rust with support for the targets by adding it to the `target` lis
1818

1919
```toml
2020
[build]
21-
target = [ "arm64e-apple-ios" ]
21+
target = ["arm64e-apple-ios"]
2222
```
2323

2424
## Building Rust programs

src/doc/rustc/src/platform-support/arm64e-apple-tvos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can build Rust with support for the targets by adding it to the `target` lis
1919

2020
```toml
2121
[build]
22-
target = [ "arm64e-apple-tvos" ]
22+
target = ["arm64e-apple-tvos"]
2323
```
2424

2525
## Building Rust programs

src/doc/rustc/src/platform-support/arm64ec-pc-windows-msvc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ list in `config.toml`:
6060

6161
```toml
6262
[build]
63-
target = [ "arm64ec-pc-windows-msvc" ]
63+
target = ["arm64ec-pc-windows-msvc"]
6464
```
6565

6666
## Building Rust programs

src/doc/rustc/src/platform-support/hexagon-unknown-linux-musl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ target list in `config.toml`, a sample configuration is shown below.
4848

4949
```toml
5050
[build]
51-
target = [ "hexagon-unknown-linux-musl"]
51+
target = ["hexagon-unknown-linux-musl"]
5252

5353
[target.hexagon-unknown-linux-musl]
5454

src/doc/rustc/src/platform-support/unikraft-linux-musl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can build Rust with support for the targets by adding it to the `target` lis
3939
```toml
4040
[build]
4141
build-stage = 1
42-
target = [ "x86_64-unikraft-linux-musl" ]
42+
target = ["x86_64-unikraft-linux-musl"]
4343
```
4444

4545
## Building Rust programs

src/doc/rustc/src/platform-support/win7-windows-msvc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can build Rust with support for the targets by adding it to the target list
2525
```toml
2626
[build]
2727
build-stage = 1
28-
target = [ "x86_64-win7-windows-msvc" ]
28+
target = ["x86_64-win7-windows-msvc"]
2929
```
3030

3131
## Building Rust programs

src/doc/rustc/src/target-tier-policy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To propose addition of a new target, open a pull request on [`rust-lang/rust`]:
119119
Link to the created description page.
120120
- Ensure the pull request is assigned to a member of the [Rust compiler team][rust_compiler_team] by commenting:
121121
```text
122-
r? compiler-team
122+
r? compiler
123123
```
124124

125125
[tier3example]: https://github.com/rust-lang/rust/pull/94872

0 commit comments

Comments
 (0)