about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-21 10:40:28 +0200
committerGitHub <noreply@github.com>2020-09-21 10:40:28 +0200
commit8fa75a2b3a7cb83f44a282ae671e0f1eb8e67a67 (patch)
treef9b2eb9ed5a4527876de482d95a2326118e16979 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentc3abb8290879d3b5f5a34aba243defbb74cfdc6c (diff)
parentc9c8fb88cf1be7e0a6bd6fd049d8d28fb5d86135 (diff)
downloadrust-8fa75a2b3a7cb83f44a282ae671e0f1eb8e67a67.tar.gz
rust-8fa75a2b3a7cb83f44a282ae671e0f1eb8e67a67.zip
Rollup merge of #76628 - jyn514:default-config-files, r=Mark-Simulacrum
Add sample defaults for config.toml

- Allow including defaults in `src/bootstrap/defaults` using `profile = "..."`.
- Add default config files, with a README noting they're experimental and asking you to open an issue if you run into trouble. The config files have comments explaining why the defaults are set.
- Combine config files using the `merge` dependency.

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(&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.

Closes #76619
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions