about summary refs log tree commit diff
path: root/config.example.toml
AgeCommit message (Collapse)AuthorLines
2025-03-17change config.toml to bootstrap.toml for bootstrap modulebit-aloo-998/+0
2025-03-13add exclude to config.tomlbit-aloo-0/+4
2025-03-10Add `[gcc] download-ci-gcc` optionJakub Beránek-0/+5
2025-03-10Add `gcc` bootstrap config sectionJakub Beránek-0/+5
2025-03-05move `rust.description` to `build.description`onur-ozkan-11/+11
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-28support rust.channel = "auto-detect"Pietro Albini-4/+5
2025-02-20Update references to cc_detect.rsJordan McQueen-2/+2
The locations of these files have since been changed. This is a simple change to update the references to these files.
2025-02-17allow configuring jemalloc per targetPietro Albini-1/+6
2025-02-13Rollup merge of #136941 - Kobzol:ccache-build, r=onur-ozkanJubilee-4/+5
Move `llvm.ccache` to `build.ccache` (S)ccache can be useful for more things that just LLVM. For example, we will soon want to use it also for GCC, and theoretically also for building stage0 Rust tools (https://github.com/rust-lang/rust/pull/136921, https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Using.20sccache.20for.20Rust). r? ``@onur-ozkan``
2025-02-13Remove `llvm.ccache` option from `config.example.toml`Jakub Beránek-4/+0
2025-02-13Rollup merge of #136858 - safinaskar:parallel-cleanup-2025-02-11-07-54, ↵Jacob Pratt-5/+0
r=SparrowLii Parallel-compiler-related cleanup Parallel-compiler-related cleanup I carefully split changes into commits. Commit messages are self-explanatory. Squashing is not recommended. cc "Parallel Rustc Front-end" https://github.com/rust-lang/rust/issues/113349 r? SparrowLii ``@rustbot`` label: +WG-compiler-parallel
2025-02-12Move `llvm.ccache` to `build.ccache`Jakub Beránek-0/+5
(S)ccache can be useful for more things that just LLVM. For example, we will soon want to use it also for GCC, and theoretically also for building stage0 Rust tools.
2025-02-11config.example.toml: remove "parallel-compiler"Askar Safin-5/+0
2025-02-10Fix long lines which rustfmt fails to formatThalia Archibald-1/+1
rustfmt fails to format this match expression, because it has several long string literals over the maximum line width. This seems to exhibit rustfmt issues #3863 (Gives up on chains if any line is too long) and #3156 (Fail to format match arm when other arm has long line).
2025-01-31Add amdgpu targetFlakebi-1/+1
Add target and compile the amdgpu llvm backend.
2025-01-10add `optimized-compiler-builtins` to target specific sectiononur-ozkan-0/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-12-04update `build.vendor` documentationonur-ozkan-3/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-25Rollup merge of #132502 - ↵Matthias Krüger-0/+4
Voultapher:document-core-features-in-config-toml-example, r=Mark-Simulacrum Document possibility to set core features in example config.toml
2024-11-23bootstrap: revert `rust.download-rustc` global default to `false`Jieyou Xu-7/+10
And only default library and tools profile to `rust.download-rustc = "if-unchanged"`.
2024-11-18typo in config.example.tomlTshepang Mbambo-1/+1
2024-11-14update download-rustc comments and defaultonur-ozkan-2/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-12Auto merge of #132954 - matthiaskrgr:rollup-x3rww9h, r=matthiaskrgrbors-2/+3
Rollup of 7 pull requests Successful merges: - #131831 (extend the "if-unchanged" logic for compiler builds) - #132541 (Proper support for cross-crate recursive const stability checks) - #132657 (AIX: add run-make support) - #132901 (Warn about invalid `mir-enable-passes` pass names) - #132923 (Triagebot: Consolidate the T-compiler ad hoc assignment groups) - #132938 (Make precise capturing suggestion machine-applicable only if it has no APITs) - #132947 (clarify `must_produce_diag` ICE for debugging) r? `@ghost` `@rustbot` modify labels: rollup
2024-11-12Delete the `cfg(not(parallel))` serial compilerNoratrieb-2/+1
Since it's inception a long time ago, the parallel compiler and its cfgs have been a maintenance burden. This was a necessary evil the allow iteration while not degrading performance because of synchronization overhead. But this time is over. Thanks to the amazing work by the parallel working group (and the dyn sync crimes), the parallel compiler has now been fast enough to be shipped by default in nightly for quite a while now. Stable and beta have still been on the serial compiler, because they can't use `-Zthreads` anyways. But this is quite suboptimal: - the maintenance burden still sucks - we're not testing the serial compiler in nightly Because of these reasons, it's time to end it. The serial compiler has served us well in the years since it was split from the parallel one, but it's over now. Let the knight slay one head of the two-headed dragon!
2024-11-11update "if-unchanged" comments in config.example.tomlonur-ozkan-2/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-02Document possibility to set core features in example config.tomlLukas Bergdoll-0/+4
2024-11-01refactor(config): remove FIXME statement in comment of `omit-git-hash`ismailarilik-2/+0
It is already fixed.
2024-10-28update download-rustc doc in config.example.tomlonur-ozkan-4/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-10-25Allow building rustc's LLVM with Offload supportManuel Drehwald-0/+3
2024-10-22real default valueOrion Gonzalez-1/+1
2024-10-22s/display-diff-tool/compiletest-diff-tool/Orion Gonzalez-1/+1
2024-10-22implemented custom differOrion Gonzalez-0/+3
2024-10-19bootstrap: allow setting `--jobs` in config.toml许杰友 Jieyou Xu (Joe)-0/+5
2024-10-06bootstrap: add `std_features` configShriram Balaji-0/+10
bootstrap: add std_features to config.example fix: use BTreeSet for std-features; add unit tests * fix formatting of string in front of std_features * rename `std_features` to `std-features` in config.toml fix: remove space before std-features in config.toml fix: remove explicit .into_iter conversion bootstrap: add details for rust.std-features in config.example.toml Co-authored-by: Onur Özkan <onurozkan.dev@outlook.com> fix: remove `Option<T>` from `rust_std_features` fix: move default rust_std_features to config fix: make std_features CI rustc incompatible
2024-09-19update `llvm.download-ci-llvm` documentationonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-15document `dist.vendor` in `config.example.toml`onur-ozkan-0/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-09Rollup merge of #129473 - Urgau:fix-llvm-if-unchanged, r=onur-ozkanJubilee-1/+4
use `download-ci-llvm=true` in the default compiler config https://github.com/rust-lang/rust/commit/1ca2708e77ac735adc3824501667694b4f9c1303 made it so that the `src/llvm-project` submodule has to be checkout for `download-ci-llvm = "if-unchanged"` to know if the submodule has been changed, but that is not required, if the submodule hasn't been checkout it cannot have been modified. ~~This PR restore the previous behavior by only updating the submodule if it has already been checkout.~~ This PR makes `download-ci-llvm = true` check if CI llvm is available and make it the default for the compiler profile, as to prevent unnecessarily checking out `src/llvm-project` with `"if-unchanged"`. r? `````@onur-ozkan`````
2024-09-09update `rust.verbose-tests` doc in `config.example.toml`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-06Make `download-ci-llvm = true` check if CI llvm is availableUrgau-1/+4
and make it the default for the compiler profile, as to prevent unnecessarily checking out `src/llvm-project` with `"if-unchanged"`.
2024-09-05Enzyme backendManuel Drehwald-0/+3
Co-authored-by: Lorenz Schmidt <bytesnake@mailbox.org>
2024-09-05Rollup merge of #101339 - the8472:ci-randomize-debug, r=Mark-SimulacrumMatthias Krüger-0/+3
enable -Zrandomize-layout in debug CI builds This builds rustc/libs/tools with `-Zrandomize-layout` on *-debug CI runners. Only a handful of tests and asserts break with that enabled, which is promising. One test was fixable, the rest is dealt with by disabling them through new cargo features or compiletest directives. The config.toml flag `rust.randomize-layout` defaults to false, so it has to be explicitly enabled for now.
2024-08-31Add rust.randomize-layout config to build artifacts with -Zrandomize-layoutThe 8472-0/+3
Additionally teach compiletest to ignore tests that rely on deterministic layout. Tests themselves aren't built with randomization but they can still observe slight changes in std or rustc
2024-08-26document `build.cargo-clippy` optiononur-ozkan-0/+7
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-22document `miri` and `cargo-miri` in `build.tools`onur-ozkan-0/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-09Enable zstd for debug compression.Kyle Huey-0/+3
Set LLVM_ENABLE_ZSTD alongside LLVM_ENABLE_ZLIB so that --compress-debug-sections=zstd is an option. Use static linking to avoid a new runtime dependency. Add an llvm.libzstd bootstrap option for LLVM with zstd. Set it off by default except for the dist builder. Handle llvm-config --system-libs output that contains static libraries.
2024-07-30update download-rustc documentationonur-ozkan-1/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-27update `rust.channel` documentationonur-ozkan-1/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-26Update Android testing to API 21, matching NDK 26Matthew Maurer-1/+1
We were running testing on API 18, which was already out of support for NDK 25, and some of the ancient behavior in that image was causing trouble when developing `rustc` features (#120326). Update to the current LTS NDK 26, and to its minimum supported API 21. Fixes: #120567
2024-07-19Conditionally build `wasm-component-ld`Alex Crichton-0/+1
This commit updates the support for the `wasm-component-ld` tool from #126967 to conditionally build it rather than unconditionally building it when LLD is enabled. This support is disabled by default and can be enabled by one of two means: * the `extended` field in `config.toml` which dist builders use to build a complete set of tools for each host platform. * a `"wasm-component-ld"` entry in the `tools` section of `config.toml`. Neither of these are enabled by default meaning that most local builds will likely not have this new tool built. Dist builders should still, however, build the tool.
2024-07-14Rollup merge of #127322 - onur-ozkan:ci-rustc-incompatible-options, ↵Matthias Krüger-1/+1
r=Mark-Simulacrum handle ci-rustc incompatible options during config parse This PR ensures that `config.toml` does not use CI rustc incompatible options when CI rustc is enabled (just like [ci-llvm checks](https://github.com/rust-lang/rust/blob/e2cf31a6148725bde4ea48acf1e4fe72675257a2/src/bootstrap/src/core/config/config.rs#L1809-L1836)). Some options can change compiler's behavior in certain scenarios. If we don't check these incompatible options, CI runners using CI rustc might ignore options we have explicitly set. This could be dangerous as we might think a rustc test passed with option T but in fact it wasn't tested with option T. Later in https://github.com/rust-lang/rust/pull/122709, I will disable CI rustc if any of those options were used (similar to [this approach](https://github.com/rust-lang/rust/blob/dd2c24aafddbd9cc170f32f5b447c7d3005c7412/src/ci/run.sh#L165-L169)). If CI runners fail because of these checks, it means the logic in run.sh isn't covering the incompatible options correctly (since any incompatible option should turn off CI rustc). The list may not be complete, but should be a good first step as it's better than nothing! Blocker for https://github.com/rust-lang/rust/pull/122709
2024-07-07use "bootstrap" instead of "rustbuild" in comments and docsonur-ozkan-4/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>