Commit 7bfbd3b
committed
Add details of each setting in the toolchain file
The format of the new section is modeled after the cargo docs, for example:
https://doc.rust-lang.org/cargo/reference/profiles.html#profile-settings
This is mostly a reorganization of the existing content to make it
easier to scan for relevant details, but a few new details have also
been added:
1. For `channel`, the format is now explained in the same format as in
concepts/toolchains.md, but with the more limited form that
`rust-toolchain.toml` accepts. This is based on the text that was
here previously; I haven't verified if the code is actually this
strict.
2. The `profile` section mentions that the default profile is not
necessarily the profile named `default`, which is subtle detail that
can be confusing.
3. The `components` section notes that the list is additive with the
profile's list of components.
4. The `targets` field is now documented, previously it wasn't mentioned
other than to say it's ignored with `path`.1 parent 8f6b536 commit 7bfbd3b
1 file changed
+60
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 116 | + | |
122 | 117 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
128 | 142 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
133 | 180 | | |
134 | 181 | | |
135 | 182 | | |
| |||
0 commit comments