Skip to content

Commit

Permalink
Fix doc error with rust-toolchain.toml custom TC
Browse files Browse the repository at this point in the history
Fix an issue where the documentation erroneously states that
`rust-toolchain.toml` config files can't specify custom toolchain names.

This language seems to be very old, ultimately inherited from the
original commit that added this feature, and is no longer true:
107d8e5#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R330
  • Loading branch information
majaha authored and rami3l committed May 8, 2024
1 parent 8d81ef7 commit c571ccc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions doc/user-guide/src/overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,12 @@ The `channel` setting specifies which [toolchain] to use. The value is a
string in the following form:

```
<channel>[-<date>]
(<channel>[-<date>])|<custom toolchain name>
<channel> = stable|beta|nightly|<major.minor.patch>
<date> = YYYY-MM-DD
```

Note that this is a more restricted form than `rustup` toolchains
generally, and cannot be used to specify custom toolchains or
host-specific toolchains.

[toolchain]: concepts/toolchains.md

#### path
Expand Down

0 comments on commit c571ccc

Please sign in to comment.