Try to mark param env as rigid with the next solver#158643
Conversation
|
Haven't blessed tests or added comments. @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.
Try to mark param env as rigid with the next solver
This comment has been minimized.
This comment has been minimized.
ec1edbd to
2d5ce64
Compare
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
|
@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.
Try to mark param env as rigid with the next solver
This comment has been minimized.
This comment has been minimized.
2d5ce64 to
b021a94
Compare
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (0abe2a0): 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 Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary -0.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 486.291s -> 497.243s (2.25%) |
|
This PR changes a file inside |
|
Unsure which minimization is a valid regression test for |
|
hmm, good question :3 I think the largest typenum free minimization to make unknown issues easier to detect + all small mimimizations for the separate issues? might make sense to just have a list of all the minimization and how they cover each other. You want both all smallest and all largest minimizations :3 minimizations should form a poset |
abbfac8 to
097a882
Compare
This comment has been minimized.
This comment has been minimized.
| disable_param_env_hack: bool = (false, parse_bool, [TRACKED], | ||
| "do not try to mark param env as rigid for the next solver"), |
There was a problem hiding this comment.
| disable_param_env_hack: bool = (false, parse_bool, [TRACKED], | |
| "do not try to mark param env as rigid for the next solver"), | |
| disable_param_env_normalization_hack: bool = (false, parse_bool, [TRACKED], | |
| "do not treat all aliases in the environment as rigid with `-Znext-solver`"), |
| /// This function should mostly be used under two situations: typing mode or | ||
| /// param env differs from the typing env the aliases were normalized in. |
There was a problem hiding this comment.
| /// This function should mostly be used under two situations: typing mode or | |
| /// param env differs from the typing env the aliases were normalized in. | |
| /// This function should ideally only be used if either the `TypingMode` | |
| /// or the `ParamEnv` differs from the environment the aliases were normalized | |
| /// in. |
|
two nits, then r=me |
097a882 to
280cd8f
Compare
|
@bors r=lcnr |
This comment has been minimized.
This comment has been minimized.
280cd8f to
07da56d
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors r=lcnr rollup=never |
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 99576cf (parent) -> c290daa (this PR) Test differencesShow 19 test diffsStage 1
Stage 2
Additionally, 1 doctest diff were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard c290daa1e5274a52e54a0f49e31bd70192abc606 --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 (c290daa): comparison URL. Overall result: ✅ improvements - no action needed@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 (secondary -4.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -90.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 488.508s -> 488.694s (0.04%) |
View all comments
This PR tries to make normalization of param env behave exactly the same as the old solver.
Notably,
This fixes some overflow bugs we met in the next solver but unfix some other bugs (existing in the old solver).
See the blessed tests.
r? lcnr