Skip to content

Commit

Permalink
Rearrange config.codegen.toml to match config.compiler.toml
Browse files Browse the repository at this point in the history
This makes it easier to see which parts of the two profiles are different.
  • Loading branch information
Zalathar committed Dec 17, 2023
1 parent 2f19122 commit 24f26a3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/bootstrap/defaults/config.codegen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
# 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.
assertions = true
# enable warnings during the llvm compilation
enable-warnings = true
# build llvm from source
download-ci-llvm = "if-unchanged"

[rust]
# This enables `RUSTC_LOG=debug`, avoiding confusing situations
# where adding `debug!()` appears to do nothing.
Expand All @@ -23,3 +14,12 @@ incremental = true
backtrace-on-ice = true
# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown.
lto = "off"

[llvm]
# build llvm from source
download-ci-llvm = "if-unchanged"
# This enables debug-assertions in LLVM,
# catching logic errors in codegen much earlier in the process.
assertions = true
# enable warnings during the llvm compilation
enable-warnings = true

0 comments on commit 24f26a3

Please sign in to comment.