Skip to content

Commit

Permalink
Format build.toml consistently in platform support docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbu- committed Dec 21, 2024
1 parent 73c278f commit f35f841
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/arm64e-apple-darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can build Rust with support for the targets by adding it to the `target` lis

```toml
[build]
target = [ "arm64e-apple-darwin" ]
target = ["arm64e-apple-darwin"]
```

## Building Rust programs
Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/arm64e-apple-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can build Rust with support for the targets by adding it to the `target` lis

```toml
[build]
target = [ "arm64e-apple-ios" ]
target = ["arm64e-apple-ios"]
```

## Building Rust programs
Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/arm64e-apple-tvos.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can build Rust with support for the targets by adding it to the `target` lis

```toml
[build]
target = [ "arm64e-apple-tvos" ]
target = ["arm64e-apple-tvos"]
```

## Building Rust programs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ list in `config.toml`:

```toml
[build]
target = [ "arm64ec-pc-windows-msvc" ]
target = ["arm64ec-pc-windows-msvc"]
```

## Building Rust programs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ target list in `config.toml`, a sample configuration is shown below.

```toml
[build]
target = [ "hexagon-unknown-linux-musl"]
target = ["hexagon-unknown-linux-musl"]

[target.hexagon-unknown-linux-musl]

Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/unikraft-linux-musl.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can build Rust with support for the targets by adding it to the `target` lis
```toml
[build]
build-stage = 1
target = [ "x86_64-unikraft-linux-musl" ]
target = ["x86_64-unikraft-linux-musl"]
```

## Building Rust programs
Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/win7-windows-msvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can build Rust with support for the targets by adding it to the target list
```toml
[build]
build-stage = 1
target = [ "x86_64-win7-windows-msvc" ]
target = ["x86_64-win7-windows-msvc"]
```

## Building Rust programs
Expand Down

0 comments on commit f35f841

Please sign in to comment.