39 Commits
Author SHA1 Message Date
Manuel Drehwald f3b16d833f Change how we build offload as a single Step 2025-12-22 23:50:11 +01:00
Antoni Boucher 95c38b2bba Add libgccjit-libs-dir config 2025-12-15 08:35:17 -05:00
anishamahuli 4af0b97075 Warn about build.description compatibility issues 2025-11-26 11:06:38 -05:00
Karol Zwolak 6e63c39467 feat: add rust.rustflags and per target rustflags options to bootstrap.toml
This makes easy to persistently pass any flag to the compiler when
building rustc.
For example you can use a different linker by putting the following in
`bootstrap.toml`:
```toml
[rust]
rustflags = ["-Clinker=clang", "-Clink-arg=--ld-path=wild"]
```
2025-11-21 16:25:36 +01:00
Jeremy Fitzhardinge 972498c728 Build with -Zannotate-moves by default
Build rustc and tools with -Zannotate-moves by default. Adds toml config
options to set the annotation size limit.

This has no measurable effect on output binary size or compile time.
2025-11-17 11:01:21 -08:00
binarycat 8acea59362 Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
yukang 93a5c824e1 Add note for option llvm.download-ci-llvm 2025-11-13 20:24:47 +08:00
Zalathar dca8be933e Run the lldb_batchmode.py script in LLDB's embedded Python 2025-11-08 21:08:02 +11:00
Jakub Beránek 902cec2bc6 Allow manually opting in and out of Linux linker overrides 2025-10-06 10:30:46 +02:00
Jakub Beránek 3186902bfc Remove mention of compiletest-use-stage0-libtest from the bootstrap example config 2025-10-01 09:05:30 +02:00
Jakub Beránek 852aa20c90 Rename rust.use-lld to rust.bootstrap-override-lld 2025-09-26 20:21:21 +02:00
Erick Tryzelaar 7f55f5761c Allow windows resource compiler to be overridden
It is now required to provide a resource compiler on windows when
compiling rust. This allows toolchain builders to explicitly provide a
path to an alternative, such as llvm-rc, instead of the one that's
provided by the Windows SDK.
2025-09-18 16:50:02 +00:00
Haidong Zhang 929c9335dd Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation 2025-09-16 17:53:29 +08:00
beepster4096 768dcbecdd add rust.break-on-ice to bootstrap.toml 2025-09-01 20:35:36 -07:00
Paul Murphy 148a07cbd0 Refactor *.optimized-compiler-builtins bootstrap options
Create a dedicated enum to abstract the different ways compiler-builtins
can be configured.

This also relaxes build.optimized-compiler-builtins to accept the path
of a library to match the behavior of <target>.optimized-compiler-builtins
override.
2025-08-25 16:08:36 -05:00
Paul Murphy 64cbe52849 Allow linking a prebuilt optimized compiler-rt builtins library
Extend the <target>.optimized-compiler-builtins bootstrap option to accept a
path to a prebuilt compiler-rt builtins library, and update compiler-builtins
to enable optimized builtins without building compiler-rt builtins.
2025-08-25 16:08:35 -05:00
Jakub Beránek 501837fa88 Rollup merge of #145426 - AMS21:fix_typos_bootstrap_example, r=lqd
Fix typos in bootstrap.example.toml

Founds these small typos while looking around.

`equivelent` -> `equivalent`
`recommeded` -> `recommended`

cheers :)
2025-08-15 16:04:00 +02:00
AMS21 cda2114c65 Fix typos in bootstrap.example.toml
equivelent -> equivalent
recommeded -> recommended
2025-08-15 09:57:24 +02:00
Jakub Beránek f2c2d3ebc3 Clarify that build.full-bootstrap is only used to affect uplifting, not stage selection 2025-08-15 08:23:57 +02:00
Jakub Beránek ca6e367e19 Clarify the behavior of rust.codegen-backends 2025-08-08 11:35:10 +02:00
Jieyou Xu 0cf6eb5f75 Introduce proper build.compiletest-allow-stage0 config option
In favor of the adhoc `COMPILETEST_FORCE_STAGE0` env var.
2025-07-30 19:54:16 +08:00
binarycat 4096582662 bootstrap: enable tidy auto extra checks on tools profile 2025-07-28 13:12:51 -05:00
Stypox 940aa20408 Add comment about features not part of "extra-features" 2025-07-14 09:37:25 +02:00
binarycat 90b2d24692 bootstrap: add build.tidy-extra-checks option 2025-07-02 10:53:55 -05:00
binarycat bedc0eaa9d bootstrap.example.toml: add note explaining toml 2025-06-20 11:35:53 -05:00