Rollup of 11 pull requests - #163419
Rollup of 11 pull requests#163419
Conversation
Instead of hardcoding the container layout assuming that the local patches are in /build, look for them next to the script. This helps downstream distros to run this script if their container layout is different and they don't put the musl working dir in /build. This might be an unexpected change for some dowstream distros that were using this script from another directory,but arranged for the patches to still be in `/build`
It's a cut down version of `rustc_errors::DiagInner` that avoids `Span`. It exists because `Span` used to not impl `Send` and so couldn't be sent from codegen threads to the main thread. But that's no longer true and we can send `DiagInner`s directly now.
By just storing `lo` and `hi` instead.
This whole section of the code deals with constructing an alternative layout, but large nesting makes the control flow seem more complex than it actually is.
Constructing these error variants is basically free
Having the generic list span multiple lines is quite jarring, and imo easy to confuse with the parameter list at a glance.
There are already way too many helpers to construct paths in this crate and this one is not very useful.
In all cases, the passed span was already the span of the ident.
Improves consistency, and hopefully clarifies the purpose of previously-mysteriosly named methods like `univariant`.
Most of these cases were found by searching for uses of `DUMMY_NODE_ID`.
Also inline `lambda0` and `lambda1` since they're only used once and are trivial wrappers around `lambda`.
It is much more similar to the methods there than to the methods in `base.rs`.
`new_inputs` and `idents` are never read anywhere, several other `Vec`s are supposed to be `ThinVec`s instead.
|
@bors r+ p=5 force |
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 2269776 (parent) -> 28b6e69 (this PR) Test differencesShow 39 test diffsStage 1
Stage 2
Additionally, 28 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 28b6e691688c15cef4c60d9044274e7b84397870 --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 (28b6e69): comparison URL. Overall result: ❌✅ regressions and 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 (primary 1.8%, secondary -0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 489.806s -> 488.07s (-0.35%) |
|
📌 Perf builds for each rolled up PR:
parent commit: 22697761c6 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
Successful merges:
Rcstrong/weak counts #163098 ([debugger visualizers] Add workaround to readRcstrong/weak counts)SpanDatain diagnostics #163307 (LessSpanDatain diagnostics)rustc_builtin_macroscleanup, part 7 #163389 (rustc_builtin_macroscleanup, part 7)LayoutCalculator#163384 (Various clean-ups aroundLayoutCalculator)r? @ghost
Create a similar rollup