-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 9 pull requests #140596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 9 pull requests #140596
Conversation
1. analogous to std::cell::Ref(Mut)::filter_map. 2. doesn't imply `Try` genericizability.
FCP completed in tracking issue rust-lang#133962.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Things that aren't obvious and took me a while to work out.
…chenkov Optimize the codegen for `Span::from_expansion` See https://godbolt.org/z/bq65Y6bc4 for the difference. the new version is less than half the number of instructions. Also tried fully writing the function by hand: ```rust sp.ctxt_or_parent_or_marker != 0 && ( sp.len_with_tag_or_marker == BASE_LEN_INTERNED_MARKER || sp.len_with_tag_or_marker & PARENT_TAG == 0 ) ``` But that was no better than this PR's current use of `match_span_kind`.
…=jswrenn transmutability: merge contiguous runs with a common destination Based on rust-lang#140380. r? `@jswrenn` `@joshlf`
…son, r=oli-obk Use select in projection lookup in `report_projection_error` Using `for_each_relevant_impl` doesn't actually select the correct impl; we can use `select` here to actually get the correct impl with certainty. Follow-up to rust-lang#140278. r? oli-obk
interpret: better error message for out-of-bounds pointer arithmetic and accesses Fixes rust-lang#93881 r? `@saethlin`
…=Amanieu Rename `*Guard::try_map` to `filter_map`. Rename `std::sync::*Guard::try_map` to `filter_map`. 1. Analogous to `std::cell::Ref(Mut)::filter_map`. 2. Doesn't imply `Try` genericizability. r? `@Amanieu` (or other T-libs-api) Tracking issue for `mapped_lock_guards`: rust-lang#117108
…able, r=workingjubilee Stabilize `select_unpredictable` FCP completed in tracking issue rust-lang#133962.
…ieyouxu extend the list of registered dylibs on `test::prepare_cargo_test` self-explanatory Fixes rust-lang#140299
…=compiler-errors Add useful comments on `ExprKind::If` variants. Things that aren't obvious and took me a while to work out. r? `@BoxyUwU`
…-errors Add regression test for 133065 closes: rust-lang#133065
@bors r+ rollup=never p=5 |
⌛ Testing commit 6f7f3ce with merge 2d5ffc513f1c56b7bc95bacb2519705096e8cc2b... |
☀️ Test successful - checks-actions |
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 4824c2b (parent) -> 2d5ffc5 (this PR) Test differencesShow 16 test diffsStage 1
Stage 2
Additionally, 12 doctest diffs 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 2d5ffc513f1c56b7bc95bacb2519705096e8cc2b --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
📌 Perf builds for each rolled up PR:
previous master: 4824c2bb74 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (2d5ffc5): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -0.1%, secondary -2.2%)This 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.
CyclesResults (primary 0.2%, secondary -2.8%)This 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 sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 767.886s -> 769.328s (0.19%) |
Successful merges:
Span::from_expansion
#140485 (Optimize the codegen forSpan::from_expansion
)report_projection_error
#140519 (Use select in projection lookup inreport_projection_error
)*Guard::try_map
tofilter_map
. #140536 (Rename*Guard::try_map
tofilter_map
.)select_unpredictable
#140550 (Stabilizeselect_unpredictable
)test::prepare_cargo_test
#140563 (extend the list of registered dylibs ontest::prepare_cargo_test
)ExprKind::If
variants. #140572 (Add useful comments onExprKind::If
variants.)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup