From 630d742e0a4a0d82c2e9577e01a063650caa4da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Bezerra?= Date: Sun, 21 Mar 2021 12:39:23 -0300 Subject: [PATCH] Docs: indicate the default settings.toml location --- doc/src/configuration.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/configuration.md b/doc/src/configuration.md index a51b7d6363f..aed49fcc862 100644 --- a/doc/src/configuration.md +++ b/doc/src/configuration.md @@ -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`.