about summary refs log tree commit diff
path: root/src/bootstrap/defaults/config.compiler.toml
AgeCommit message (Collapse)AuthorLines
2025-03-17change config.toml to bootstrap.toml for bootstrap modulebit-aloo-37/+0
2025-01-19Add debug assertions to compiler profileNoratrieb-0/+2
Working on the compiler without debug assertions is not a very productive way to work on the compiler.
2024-11-23bootstrap: revert `rust.download-rustc` global default to `false`Jieyou Xu-0/+3
And only default library and tools profile to `rust.download-rustc = "if-unchanged"`.
2024-11-13disable precompiled rustc for "library" and "compiler" profilesonur-ozkan-0/+1
There is an ongoing discussion about this on Zulip and for now we want to keep these disabled. Zulip thread: https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/.60download-rustc.20.3D.20'if-unchanged'.60.20for.20.60compiler.60.20profile.3F Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-06Make `download-ci-llvm = true` check if CI llvm is availableUrgau-1/+2
and make it the default for the compiler profile, as to prevent unnecessarily checking out `src/llvm-project` with `"if-unchanged"`.
2024-06-14Do not enable `llvm-bitcode-linker` in most default bootstrap profilesJakub Beránek-2/+0
2024-05-15Set `debuginfo-level = "line-tables-only"` for compiler profileJubilee Young-0/+2
This profile has only undergone minimal tweaks since it was originally drafted. I asked a number of compiler contributors and they said they set rust.debug explicitly. This was even true for one contributor that set `rust.debug` = false! Almost everyone seems slightly surprised that `rust.debug = true` is not the default. However, adding full debuginfo at this level costs multiple gigabytes! We can still get much better debuginfo by setting "line-tables-only" at the cost of only 150~200 MB.
2024-03-11Bootstrap: Add argument for building llvm bitcode linkerKjetil Kjeka-0/+2
2024-02-22set `llvm.assertions` to false in compiler profileonur-ozkan-3/+3
Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true` because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-02-19Remove the "codegen" profile from bootstrapNilstrieb-0/+5
This profile originally made sense when download-ci-llvm = if-unchanged didn't exist and we had the bad tradeoff of "never modify or always compile". Thankfully, these grim times are over and we have discovered clean water, so the only differentiator between the two profiles is the codegen profile having LLVM assertions. Adding them doesn't cause that much of a slowdown, <10% on UI tests from an unscientific benchmark. It also had LLVM warnings when compiling, which makes sense for every compiler contributor brave enough to compile LLVM. The way I removed is by just issueing a nice error message. Given that everyone with this profile should be a contributor and not someone like a distro who is more upset when things break, this should be fine. If it isn't, we can always fall back to just letting codegen mean compiler.
2024-02-18Add `rust.frame-pointers` config optionNilstrieb-0/+3
This is very helpful for profiling. I've hacked this in many times, so let's add it properly.
2023-11-11merge `if-available` and `if-unchanged` for `download-ci-llvm`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-01-26Add `rust.lto=off` to bootstrapclubby789-0/+2
2022-05-05Enable compiler-docs by default for `compiler`, `codegen`, and `tools` profiles.Joshua Nelson-0/+4
2021-04-25Set `backtrace-on-ice` by default for compiler and codegen profilesJoshua Nelson-0/+2
If there's an ICE while bootstrapping, it's most likely because of a change to the compiler.
2021-04-05Add config file for tools enabling stage1 downloads by defaultJoshua Nelson-2/+1
Otherwise no one will be able to find the setting.
2020-10-13Implement "if-available" option for download-ci-llvmAntoine Martin-0/+5
2020-10-04Rename bootstrap/defaults/{config.toml.PROFILE => config.PROFILE.toml}Thom Chiovoloni-0/+8