-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
971bb99
commit 35336ff
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
This will maintain `rust-toolchain.toml` files. | ||
Available versions will be determined from the official Rust Github repository. | ||
This will maintain the [channel](https://rust-lang.github.io/rustup/overrides.html#channel) setting in [rust-toolchain.toml](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) files. | ||
Available versions will be determined from the official [Rust Github repository](https://github.com/rust-lang/rust). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
The [channel](https://rust-lang.github.io/rustup/overrides.html#channel) setting in [rust-toolchain.toml](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) specifies which Rust toolchain to use. The value is a string in the following form: | ||
|
||
``` | ||
<channel> = stable|beta|nightly|<versioned>[-<prerelease>] | ||
<versioned> = <major.minor>|<major.minor.patch> | ||
<prerelease> = beta[.<number>] | ||
``` | ||
|
||
Named release channels (`stable`, `beta`, `nightly`) are left unchanged, as are pre-release versions (e.g. `1.82.0-beta.1`). | ||
|
||
Versions without a patch version set (e.g. `1.82`) are similar to NPM's [tilde operator](https://docs.npmjs.com/cli/v6/using-npm/semver#tilde-ranges-123-12-1) (e.g. ~1.82.0). In other words, patch level changes are allowed. While version with a patch version set (e.g. `1.82.1`) specify a single exact version, similar to NPM's `=` operator. |