diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-05-05 20:03:10 -0500 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-05-05 20:05:12 -0500 |
| commit | 7443cc2bd66a79aa5a624e11b9b0172e56c2da48 (patch) | |
| tree | 4bb1e2975963c1b34c592d5d6251037acea73a75 /src/bootstrap/defaults | |
| parent | 30f386087564243ab88a93c984c265290a31580b (diff) | |
| download | rust-7443cc2bd66a79aa5a624e11b9b0172e56c2da48.tar.gz rust-7443cc2bd66a79aa5a624e11b9b0172e56c2da48.zip | |
Enable compiler-docs by default for `compiler`, `codegen`, and `tools` profiles.
Diffstat (limited to 'src/bootstrap/defaults')
| -rw-r--r-- | src/bootstrap/defaults/config.codegen.toml | 4 | ||||
| -rw-r--r-- | src/bootstrap/defaults/config.compiler.toml | 4 | ||||
| -rw-r--r-- | src/bootstrap/defaults/config.tools.toml | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.codegen.toml b/src/bootstrap/defaults/config.codegen.toml index 011ff6821b7..088cbd1057e 100644 --- a/src/bootstrap/defaults/config.codegen.toml +++ b/src/bootstrap/defaults/config.codegen.toml @@ -1,4 +1,8 @@ # These defaults are meant for contributors to the compiler who modify codegen or LLVM +[build] +# Contributors working on the compiler will probably expect compiler docs to be generated. +compiler-docs = true + [llvm] # This enables debug-assertions in LLVM, # catching logic errors in codegen much earlier in the process. diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml index 4d689d117bc..2f4ccb825c4 100644 --- a/src/bootstrap/defaults/config.compiler.toml +++ b/src/bootstrap/defaults/config.compiler.toml @@ -1,4 +1,8 @@ # These defaults are meant for contributors to the compiler who do not modify codegen or LLVM +[build] +# Contributors working on the compiler will probably expect compiler docs to be generated. +compiler-docs = true + [rust] # This enables `RUSTC_LOG=debug`, avoiding confusing situations # where adding `debug!()` appears to do nothing. diff --git a/src/bootstrap/defaults/config.tools.toml b/src/bootstrap/defaults/config.tools.toml index 88359fff191..6b6625342a6 100644 --- a/src/bootstrap/defaults/config.tools.toml +++ b/src/bootstrap/defaults/config.tools.toml @@ -14,6 +14,8 @@ download-rustc = "if-unchanged" [build] # Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile. doc-stage = 2 +# Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API. +compiler-docs = true [llvm] # Will download LLVM from CI if available on your platform. |
