Skip to content

Commit f35f841

Browse files
committed
Format build.toml consistently in platform support docs
1 parent 73c278f commit f35f841

7 files changed

+7
-7
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

0 commit comments

Comments
 (0)