]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/defaults/config.tools.toml
Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errors
[rust.git] / src / bootstrap / defaults / config.tools.toml
1 # These defaults are meant for contributors to tools which build on the
2 # compiler, but do not modify it directly.
3 [rust]
4 # This enables `RUSTC_LOG=debug`, avoiding confusing situations
5 # where adding `debug!()` appears to do nothing.
6 # However, it makes running the compiler slightly slower.
7 debug-logging = true
8 # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
9 incremental = true
10 # Download rustc from CI instead of building it from source.
11 # This cuts compile times by almost 60x, but means you can't modify the compiler.
12 download-rustc = "if-unchanged"
13
14 [build]
15 # Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile.
16 doc-stage = 2
17 # Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API.
18 compiler-docs = true
19
20 [llvm]
21 # Will download LLVM from CI if available on your platform.
22 download-ci-llvm = "if-available"