Skip to content

Commit c8a5602

Browse files
authored
Merge pull request #32 from dtolnay/configurations
Update explanation of target platforms in readme
2 parents 9b55e4c + e65a0f1 commit c8a5602

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,16 @@ $ buck2 build :rustc_ast[profile][llvm_passes] --show-output
5454

5555
The following platforms are available for use with `--target-platforms`:
5656

57-
- `//platforms/stage1:library`
58-
- `//platforms/stage1:library-build-script`
59-
- `//platforms/stage1:compiler`
60-
- `//platforms/stage1:compiler-build-script`
61-
- `//platforms/stage2:library`
62-
- `//platforms/stage2:library-build-script`
63-
- `//platforms/stage2:compiler`
64-
- `//platforms/stage2:compiler-build-script`
65-
66-
The "stage1" platforms compile Rust code using stage0 downloaded rustc and
67-
rustdoc and clippy. The "stage2" platforms use the stage1 built-from-source
68-
tools.
57+
| target platform | uses rustc, rustdoc, clippy |
58+
|---|---|
59+
| `//platforms/stage1:compiler-build-script` | downloaded stage0 |
60+
| `//platforms/stage1:compiler` | downloaded stage0 |
61+
| `//platforms/stage1:library-build-script` | downloaded stage0 |
62+
| `//platforms/stage1:library` | built-from-source stage1 |
63+
| `//platforms/stage2:compiler-build-script` | built-from-source stage1 |
64+
| `//platforms/stage2:compiler` | built-from-source stage1 |
65+
| `//platforms/stage2:library-build-script` | built-from-source stage1 |
66+
| `//platforms/stage2:library` | built-from-source stage2 |
6967

7068
The "build-script" platforms compile without optimization. These are used for
7169
procedural macros and build.rs. The non-build-script platforms compile with a

0 commit comments

Comments
 (0)