Enable -Znext-solver on nightly by default - #160619
Conversation
This comment has been minimized.
This comment has been minimized.
58af33d to
0460872
Compare
This comment has been minimized.
This comment has been minimized.
0460872 to
0ea6562
Compare
This comment has been minimized.
This comment has been minimized.
0ea6562 to
5742bfa
Compare
This comment has been minimized.
This comment has been minimized.
5742bfa to
71b11fe
Compare
This comment has been minimized.
This comment has been minimized.
d68c99e to
957226b
Compare
This comment has been minimized.
This comment has been minimized.
957226b to
db02309
Compare
This comment has been minimized.
This comment has been minimized.
db02309 to
d5d6c07
Compare
This comment has been minimized.
This comment has been minimized.
d5d6c07 to
1acf8a5
Compare
Enable `-Znext-solver` on nightly by default Implementation of rust-lang/compiler-team#1014 cc rust-lang/blog.rust-lang.org#1896 #160895 This enables `-Znext-solver=globally` by default in nightly, but keeps `-Znext-solver=coherence` for tests
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 13afda5 failed: CI. Failed job:
|
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Enable `-Znext-solver` on nightly by default
|
Heh, I noticed the failing test while reading the code and was thinking "huh, how does this work?". And now I see it doesn't 😆 It either has to be skipped on nightly, or perhaps I'd just replace it with a check that compares the parsed value to the |
This comment has been minimized.
This comment has been minimized.
| @@ -1028,6 +1020,18 @@ pub struct NextSolverConfig { | |||
| pub globally: bool = false, | |||
| } | |||
There was a problem hiding this comment.
not part of this PR, but we allow coherence: bool = true even without derive(Default) that's surprising to me 🤔
There was a problem hiding this comment.
I was also surprised :) If you read the RFC, it can be used when constructing values of the struct manually (you can skip fields with a default value).
Update the `rustc-perf` submodule To bring in rust-lang/rustc-perf#2537, so that we unblock rust-lang/rust#160619. r? lcnr
|
enabling the tracked check if the next-solver is enabled in 72c9724 I guess let's wait for perf before reapproving :> |
|
Finished benchmarking commit (97e0817): 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 @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.3%, secondary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.5%, secondary -0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 456.922s -> 480.397s (5.14%) |
|
@bors r=lcnr,jdonszelmann,kobzol |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 16a623a (parent) -> 526c36b (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 526c36b4c477994b7905ec6a084d6150e49076f5 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (526c36b): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 0.8%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.3%, secondary 0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 457.604s -> 470.08s (2.73%) |
|
Bootstrap regression is caused by us compiling rustc in rustc-perf with the next trait solver. The rest of the results are caused by PGO perturbations, because we now compile dependencies of benchmark crates using the next trait solver when training PGO. @rustbot label: +perf-regression-triaged |
View all comments
Implementation of rust-lang/compiler-team#1014 cc rust-lang/blog.rust-lang.org#1896 #160895
This enables
-Znext-solver=globallyby default in nightly, but keeps-Znext-solver=coherencefor most tests.