Skip to content

Commit

Permalink
Unrolled build for rust-lang#134610
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer authored Dec 31, 2024
2 parents 7a0cde9 + ea75d05 commit 712473c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 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
2 changes: 1 addition & 1 deletion src/doc/rustc/src/target-tier-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ To propose addition of a new target, open a pull request on [`rust-lang/rust`]:
Link to the created description page.
- Ensure the pull request is assigned to a member of the [Rust compiler team][rust_compiler_team] by commenting:
```text
r? compiler-team
r? compiler
```

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

0 comments on commit 712473c

Please sign in to comment.