Rollup of 5 pull requests#154326
Conversation
…fo on dyn-downcast
…ease Unalign `PackedFingerprint` on all hosts, not just x86 and x86-64 Back in rust-lang#78646, `DepNode` was modified to store an unaligned `PackedFingerprint` instead of an 8-byte-aligned `Fingerprint`. That reduced the size of DepNode from 24 bytes to 17 bytes (nowadays 18 bytes), resulting in considerable memory savings in incremental builds. See rust-lang#152695 (comment) for a benchmark demonstrating the impact of *removing* that optimization. At the time (and today), the unaligning was only performed on x86 and x86-64 hosts, because those CPUs are known to generally have low overhead for unaligned memory accesses. Hosts with other CPU architectures would continue to use an 8-byte-aligned fingerprint and a 24-byte DepNode. Given the subsequent rise of aarch64 (especially on macOS) and other architectures, it's a shame that some commonly-used builds of rustc don't get those memory-size benefits, based on a decision made several years ago under different circumstances. We don't have benchmarks to show the actual effect of unaligning DepNode fingerprints on various non-x86 hosts, but it seems very likely to be a good idea on Apple chips, and I have no particular reason to think that it will be catastrophically bad on other hosts. And we don't typically perform this kind of speculative pessimization in other parts of the compiler.
… r=oli-obk constify const Fn*: Destruct makes closures const destruct where their upvars are. i think this makes sense and is how this should be implemented. r? @oli-obk
improve validation error messages: show surrounding type Also, for dyn-downcast show the type we're downcasting to. r? @oli-obk
…ouxu use `minicore` more in testing inline assembly Both for easier development and because some niche assembly features were only tested on one platform. try-job: aarch64-gnu try-job: x86_64-gnu try-job: x86_64-gnu-debug
Use verbose span suggestion for type const close: rust-lang#154214 r? fmease
|
@bors r+ rollup=never p=5 |
|
Trying commonly failed jobs |
This comment has been minimized.
This comment has been minimized.
Rollup of 5 pull requests try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1
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 63154b7 (parent) -> 362211d (this PR) Test differencesShow 60 test diffsStage 1
Stage 2
Additionally, 16 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 362211dc29abc4e8f8cfc384740237f144929b03 --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 (362211d): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 485.223s -> 497.654s (2.56%) |
Successful merges:
PackedFingerprinton all hosts, not just x86 and x86-64 #152710 (UnalignPackedFingerprinton all hosts, not just x86 and x86-64)minicoremore in testing inline assembly #154277 (useminicoremore in testing inline assembly)r? @ghost
Create a similar rollup