From 24f26a3c8ed851d2d65d99a751ddf663e4fa9658 Mon Sep 17 00:00:00 2001 From: Zalathar Date: Sun, 17 Dec 2023 20:38:42 +1100 Subject: [PATCH] Rearrange `config.codegen.toml` to match `config.compiler.toml` This makes it easier to see which parts of the two profiles are different. --- src/bootstrap/defaults/config.codegen.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bootstrap/defaults/config.codegen.toml b/src/bootstrap/defaults/config.codegen.toml index 7c33ce958c929..fdd3e9c836cff 100644 --- a/src/bootstrap/defaults/config.codegen.toml +++ b/src/bootstrap/defaults/config.codegen.toml @@ -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. @@ -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