File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 8
8
- [ Bisection boundaries] ( boundaries.md )
9
9
- [ Rustup toolchains] ( rustup.md )
10
10
- [ Git bisect a custom build] ( git-bisect.md )
11
+ - [ Alt builds] ( alt.md )
11
12
- [ Examples] ( examples/index.md )
12
13
- [ Checking diagnostics] ( examples/diagnostics.md )
13
14
- [ Scripting on Windows] ( examples/windows-scripting.md )
Original file line number Diff line number Diff line change
1
+ # Alt builds
2
+
3
+ Each commit also generates what are called "alt" builds.
4
+ These are builds of rustc with some different options set.
5
+ As of August 2023, these include:
6
+
7
+ * ` rust.parallel-compiler `
8
+ * ` llvm.assertions `
9
+ * ` rust.verify-llvm-ir `
10
+
11
+ For more information on these settings, see the [ ` config.toml ` docs] .
12
+ These alt settings are defined in [ ` ci/run.sh ` ] .
13
+
14
+ Alt builds are only available for a few targets.
15
+ Look for the ` -alt ` builds in [ ` ci.yml ` ] .
16
+
17
+ This can be useful if you are bisecting an LLVM issue.
18
+ With LLVM assertions enabled, alt builds have checks that can help identify broken assumptions.
19
+
20
+ Alt builds are only made for commit builds, and not nightly releases.
21
+ You will need to specify ` --by-commit ` (or use a hash in the ` --start ` or ` --end ` flags) to only use commit builds.
22
+
23
+ ``` sh
24
+ cargo bisect-rustc --alt --by-commit
25
+ ```
26
+
27
+ [ `config.toml` docs ] : https://github.com/rust-lang/rust/blob/master/config.example.toml
28
+ [ `ci/run.sh` ] : https://github.com/rust-lang/rust/blob/c0b6ffaaea3ebdf5f7a58fc4cf7ee52c91077fb9/src/ci/run.sh#L99-L105
29
+ [ `ci.yml` ] : https://github.com/rust-lang/rust/blob/HEAD/src/ci/github-actions/ci.yml
You can’t perform that action at this time.
0 commit comments