Skip to content

Enable -Znext-solver on nightly by default - #160619

Draft
Kivooeo wants to merge 1 commit into
rust-lang:mainfrom
Kivooeo:enable-next-solver
Draft

Enable -Znext-solver on nightly by default#160619
Kivooeo wants to merge 1 commit into
rust-lang:mainfrom
Kivooeo:enable-next-solver

Conversation

@Kivooeo

@Kivooeo Kivooeo commented Aug 6, 2026

Copy link
Copy Markdown
Member

View all comments

this is a draft for now, i will update description once crater finishes

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 6, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 58af33d to 0460872 Compare August 6, 2026 10:21
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 0460872 to 0ea6562 Compare August 6, 2026 11:35
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 0ea6562 to 5742bfa Compare August 6, 2026 11:47
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 5742bfa to 71b11fe Compare August 6, 2026 13:00
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch 2 times, most recently from d68c99e to 957226b Compare August 6, 2026 14:34
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 957226b to db02309 Compare August 6, 2026 15:38
@Kivooeo Kivooeo closed this Aug 6, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 6, 2026
@Kivooeo Kivooeo reopened this Aug 6, 2026
@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 6, 2026
@Kivooeo Kivooeo closed this Aug 6, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 6, 2026
@Kivooeo Kivooeo reopened this Aug 6, 2026
@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 6, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from db02309 to d5d6c07 Compare August 7, 2026 19:21
@rust-log-analyzer

This comment has been minimized.

@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from d5d6c07 to 1acf8a5 Compare August 8, 2026 09:09
@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from 4176fbe to c0fca13 Compare August 8, 2026 14:06
@Kivooeo

Kivooeo commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 8, 2026
Enable `-Znext-solver` on nightly by default
@Kivooeo

Kivooeo commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

@craterbot check

@craterbot

Copy link
Copy Markdown
Collaborator

🚨 Error: missing start toolchain

🆘 If you have any trouble with Crater please ask in t-infra on Zulip
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@Kivooeo

Kivooeo commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

@craterbot run mode=check-only

@craterbot

Copy link
Copy Markdown
Collaborator

🚨 Error: missing start toolchain

🆘 If you have any trouble with Crater please ask in t-infra on Zulip
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 365ca06 (365ca069469fcb0f8f783505542469e44ab556b8)
Base parent: 8b798d4 (8b798d41cc5d215ef8d5424f61b6dc2575ac738b)

@theemathas

Copy link
Copy Markdown
Contributor

@craterbot check

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-160619 created and queued.
🤖 Automatically detected try build 365ca06
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 8, 2026
@lcnr

lcnr commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

@craterbot cancel

@lcnr

lcnr commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

already have a crater run in #133502

@craterbot

Copy link
Copy Markdown
Collaborator

🗑️ Experiment pr-160619 deleted!

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Aug 11, 2026
@rust-cloud-vms
rust-cloud-vms Bot force-pushed the enable-next-solver branch from c0fca13 to 9b57f52 Compare August 11, 2026 12:32
@Kivooeo

Kivooeo commented Aug 11, 2026

Copy link
Copy Markdown
Member Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 11, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 11, 2026
Enable `-Znext-solver` on nightly by default
@rust-bors

rust-bors Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: cc33267 (cc33267ec3bdc5624adccc77c0610515257e580b)
Base parent: f76a50b (f76a50bb82442dd7208c08a27e2ed258d1f10310)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (cc33267): comparison URL.

Overall result: ❌✅ regressions and improvements - please read:

Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf.

Next, please: If you can, justify the regressions found in this try perf run in writing along with @rustbot label: +perf-regression-triaged. If not, fix the regressions and do another perf run. Neutral or positive results will clear the label automatically.

@bors rollup=never rustc-perf
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
13.4% [0.3%, 219.8%] 252
Regressions ❌
(secondary)
8.3% [0.1%, 101.3%] 262
Improvements ✅
(primary)
-5.8% [-25.4%, -0.4%] 25
Improvements ✅
(secondary)
-9.0% [-81.4%, -0.2%] 80
All ❌✅ (primary) 11.7% [-25.4%, 219.8%] 277

Max RSS (memory usage)

Results (primary 5.8%, secondary 1.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
5.8% [0.8%, 35.5%] 153
Regressions ❌
(secondary)
3.5% [0.4%, 7.8%] 65
Improvements ✅
(primary)
-1.9% [-1.9%, -1.9%] 1
Improvements ✅
(secondary)
-3.0% [-6.5%, -0.4%] 37
All ❌✅ (primary) 5.8% [-1.9%, 35.5%] 154

Cycles

Results (primary 12.1%, secondary 4.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
13.7% [2.1%, 164.9%] 179
Regressions ❌
(secondary)
9.9% [0.7%, 60.3%] 144
Improvements ✅
(primary)
-5.9% [-16.8%, -1.9%] 16
Improvements ✅
(secondary)
-18.1% [-79.2%, -1.4%] 33
All ❌✅ (primary) 12.1% [-16.8%, 164.9%] 195

Binary size

Results (primary 0.2%, secondary 0.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.2% [0.0%, 0.4%] 40
Regressions ❌
(secondary)
0.1% [0.0%, 0.1%] 16
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.2% [0.0%, 0.4%] 40

Bootstrap: 454.448s -> 465.436s (2.42%)
Artifact size: 396.47 MiB -> 394.85 MiB (-0.41%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc perf-regression Performance regression. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants