<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/bootstrap/defaults, branch 1.51.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.51.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.51.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-10-13T16:00:25+00:00</updated>
<entry>
<title>Implement "if-available" option for download-ci-llvm</title>
<updated>2020-10-13T16:00:25+00:00</updated>
<author>
<name>Antoine Martin</name>
<email>antoine97.martin@gmail.com</email>
</author>
<published>2020-10-13T14:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ab614b0f010e68b74b8f8a6ce26d53302fb4f14a'/>
<id>urn:sha1:ab614b0f010e68b74b8f8a6ce26d53302fb4f14a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename bootstrap/defaults/{config.toml.PROFILE =&gt; config.PROFILE.toml}</title>
<updated>2020-10-05T01:35:16+00:00</updated>
<author>
<name>Thom Chiovoloni</name>
<email>chiovolonit@gmail.com</email>
</author>
<published>2020-10-05T01:35:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afe83d4c1ca70149b463ac7548cf5d204d3d5844'/>
<id>urn:sha1:afe83d4c1ca70149b463ac7548cf5d204d3d5844</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reduce overlong line</title>
<updated>2020-09-27T02:22:55+00:00</updated>
<author>
<name>Tshepang Lekhonkhobe</name>
<email>tshepang@gmail.com</email>
</author>
<published>2020-09-27T02:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=58c232af6a86bfcde605ec4f2302af52f1cac139'/>
<id>urn:sha1:58c232af6a86bfcde605ec4f2302af52f1cac139</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add sample defaults for config.toml</title>
<updated>2020-09-20T20:18:58+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-09-12T04:42:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c9c8fb88cf1be7e0a6bd6fd049d8d28fb5d86135'/>
<id>urn:sha1:c9c8fb88cf1be7e0a6bd6fd049d8d28fb5d86135</id>
<content type='text'>
- Allow including defaults in `src/bootstrap/defaults` using `profile = "..."`
- Add default config files
- Combine config files using the merge dependency.
- Add comments to default config files
- Add a README asking to open an issue if the defaults are bad
- Give a loud error if trying to merge `.target`, since it's not
  currently supported
- Use an exhaustive match
- Use `&lt;none&gt;` in config.toml.example to avoid confusion
- Fix bugs in `Merge` derives

Previously, it would completely ignore the profile defaults if there
were any settings in `config.toml`. I sent an email to the `merge` maintainer
asking them to make the behavior in this commit the default.

This introduces a new dependency on `merge` that hasn't yet been vetted.

I want to improve the output when `include = "x"` isn't found:

```
thread 'main' panicked at 'fs::read_to_string(&amp;file) failed with No such file or directory (os error 2) ("configuration file did not exist")', src/bootstrap/config.rs:522:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failed to run: /home/joshua/rustc/build/bootstrap/debug/bootstrap test tidy
Build completed unsuccessfully in 0:00:00
```

However that seems like it could be fixed in a follow-up.
</content>
</entry>
</feed>
