Conversation
Make the build process more beginner friendly: - Include information explaining that the stage2 toolchain should be used (and not the stage1 toolchain) due to the `download-rustc` setting. - Display a message when the user runs `x setup tools` explaining that they should use the stage2 toolchain.
This has real differences in the effective debuginfo: in particular, it omits the module-level information and breaks perf. Allow passing `line-tables-only` directly in config.toml instead.
…ulacrum Update documentation for `tools` defaults This PR alters the information in the tools profile config to mention that `download-rustc` uses the stage2 toolchain and not the stage1 toolchain (see https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Unable.20to.20compile.20rustc.20MSVC and rust-lang/rustc-dev-guide#1694).
…pan-for-tait, r=cjgillot Dont compute `opt_suggest_box_span` span for TAIT Fixes rust-lang#112434 Also a couple more commits on top, pruning some dead code and fixing another weird suggestion encountered in the above issue.
…-Simulacrum bootstrap: Don't override `debuginfo-level = 1` to mean `line-tables-only` This has real differences in the effective debuginfo: in particular, it omits the module-level information and makes perf less useful (it can't distinguish "self" from "child" time anymore). Allow passing `line-tables-only` directly in config.toml instead. See https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/debuginfo.20in.20try.20builds/near/365090631 and https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bsteering.5D.202023-06-09/near/364883519 for more discussion. This effectively reverts the cargo half of rust-lang#110221 to avoid regressing rust-lang#60020 again in 1.72.
|
@bors r+ rollup=never p=3 |
|
☀️ Test successful - checks-actions |
|
📌 Perf builds for each rolled up PR:
previous master: 81c02da94e In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
|
Finished benchmarking commit (37998ab): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 647.238s -> 650.784s (0.55%) |
|
@rust-timer build 9959cdf35accd1b07fb2ac74635e10de483ec3a4 |
This comment has been minimized.
This comment has been minimized.
|
It's likely to be the #112528 partial revert indeed, as the initial PR had unexpected wins by seeping through libstd IIRC #110221 (comment) |
|
Finished benchmarking commit (9959cdf35accd1b07fb2ac74635e10de483ec3a4): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDInstruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 647.238s -> 647.582s (0.05%) |
@rustbot label: +perf-regression-triaged |
Successful merges:
toolsdefaults #112487 (Update documentation fortoolsdefaults)opt_suggest_box_spanspan for TAIT #112513 (Dont computeopt_suggest_box_spanspan for TAIT)debuginfo-level = 1to meanline-tables-only#112528 (bootstrap: Don't overridedebuginfo-level = 1to meanline-tables-only)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup