Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/building/how-to-build-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,16 @@ Instead, you can build a specific component by providing its name, like this:
If you choose the `library` profile when running `x setup`, you can omit `--stage 1` (it's the
default).

If you want to build a tool, you can use:

```bash
./x build src/tools/cargo
```

You can also check the [the section on tool tests][tool-tests-link].

[tool-tests-link]: ../tests/intro.md#tool-tests

## Creating a rustup toolchain

Once you have successfully built `rustc`, you will have created a bunch
Expand Down
Loading