Skip to content

Commit

Permalink
Docs: indicate the default settings.toml location
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19 committed Mar 23, 2021
1 parent ca0b042 commit 630d742
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/src/configuration.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Configuration

Rustup has a settings file in [TOML](https://github.com/toml-lang/toml) format
at `${RUSTUP_HOME}/settings.toml`. The schema for this file is not part of the
public interface for rustup - the rustup CLI should be used to query and set
settings.
Rustup has a [TOML](https://github.com/toml-lang/toml) settings file at
`${RUSTUP_HOME}/settings.toml` (which defaults to `~/.rustup` or
`%USERPROFILE%/.rustup`). The schema for this file is not part of the public
interface for rustup - the rustup CLI should be used to query and set settings.

On Unix operating systems a fallback settings file is consulted for some
settings. This fallback file is located at `/etc/rustup/settings.toml` and
currently can define only `default_toolchain`.
currently can only define `default_toolchain`.

0 comments on commit 630d742

Please sign in to comment.