Skip to content

Commit

Permalink
Clarify cargo fallback behavior for rustup link (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
couchand authored Jun 6, 2022
1 parent a206009 commit 4d43651
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/building/how-to-build-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ The rustup toolchain points to the specified toolchain compiled in your `build`
so the rustup toolchain will be updated whenever `x.py build` or `x.py test` are run for
that toolchain/stage.

**Note:** the toolchain we've built does not include `cargo`. In this case, `rustup` will
fall back to using `cargo` from the installed `nightly`, `beta`, or `stable` toolchain
(in that order). If you need to use unstable `cargo` flags, be sure to run
`rustup install nightly` if you haven't already. See the
[rustup documentation on custom toolchains](https://rust-lang.github.io/rustup/concepts/toolchains.html#custom-toolchains).

## Other `x.py` commands

Here are a few other useful `x.py` commands. We'll cover some of them in detail
Expand Down

0 comments on commit 4d43651

Please sign in to comment.