Format build.toml consistently in platform support docs

This commit is contained in:
Tobias Bucher 2024-12-21 11:08:22 +01:00
parent 73c278fd93
commit f35f8414aa
7 changed files with 7 additions and 7 deletions

View file

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

View file

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

View file

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

View file

@ -60,7 +60,7 @@ list in `config.toml`:
```toml
[build]
target = [ "arm64ec-pc-windows-msvc" ]
target = ["arm64ec-pc-windows-msvc"]
```
## Building Rust programs

View file

@ -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]

View file

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

View file

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