Rollup of 4 pull requests - #160908
Conversation
* add regression tests for the fn sig ice * add issuelinks in on top of the tests * regenerate stderr snapshots
For consistency with `{:?}` before it
The existing code takes a command-line argument (that might not even be a path), glues it to the repository path, makes it absolute relative to the working directory, then tries to strip the repository path off again. That all seems needlessly complicated. The new approach is much simpler: If an argument is an absolute path that exists, try to strip the repository path from it, or otherwise change nothing. That should hopefully give the same results in every useful case.
Add offload support to the dist-x86_64-linux CI job Add offload support to the dist-x86_64-linux CI job This enables users to compile offload code without building rustc from source - Package the offload runtime shared libraries - Package the AMDGPU and NVPTX device runtime libraries I checked the tarballs work by compiling & running the sample offload code here: https://rustc-dev-guide.rust-lang.org/offload/usage.html | Before | After | | --- | --- | | <img width="511" height="246" alt="スクリーンショット 2026-07-16 23 46 46" src="https://github.com/user-attachments/assets/f05cbabe-d6d5-4d1a-ae49-45e8a8092d69" /> | <img width="503" height="360" alt="スクリーンショット 2026-07-16 23 49 32" src="https://github.com/user-attachments/assets/4f69e15d-231b-4a27-a719-29da42b46d70" /> | | <img width="595" height="998" alt="スクリーンショット 2026-07-16 23 48 31" src="https://github.com/user-attachments/assets/5dbbe9d1-2c26-4002-8a8c-d15edc3ea4db" /> | <img width="594" height="986" alt="スクリーンショット 2026-07-16 23 50 27" src="https://github.com/user-attachments/assets/90575be6-4970-4038-8248-9b9dd6cbaef3" /> | There are two changes affect outside of offload (I left github comments on the relevant sections). So, r? @Kobzol r? @jieyouxu r? @ZuseZ4 closes: rust-lang#153203 * Continuous of rust-lang#153203
add regression tests for the fn sig ice follow-up to rust-lang#160628 which fixed the `suggest_add_reference_to_arg` fn_sig ice adds the regression tests @teor2345 asked for in review - closure call with a missing-field struct literal (iced without the guard) - method call whose where-clause fails (covers the method-call branch) the impl def_id case cant be constructed, those obligations get dropped during probing and turn into e0599 instead
bootstrap: Simplify absolute path handling The existing code takes a command-line argument (that might not even be a path), glues it to the repository path, makes it absolute relative to the working directory, then tries to strip the repository path off again. That all seems needlessly complicated. The new approach is much simpler: If an argument is an absolute path that exists, try to strip the repository path from it, or otherwise change nothing. That should hopefully give the same results in every useful case. --- Relevant earlier PRs: - rust-lang#126782 - rust-lang#146774 r? Kobzol (who last modified this code), or bootstrap
…yuVanilla
Put `{:#?}` into backticks
For consistency with `{:?}` before it
|
@bors r+ p=5 |
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: a04c7a037d In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
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 a04c7a0 (parent) -> e64c8a6 (this PR) Test differencesShow 8 test diffsStage 1
Stage 2
Additionally, 2 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 e64c8a664d9da54fc239cd4404cbf67f0d624326 --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 (e64c8a6): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 5.2%, secondary -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.4%, secondary 0.4%)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: 463.191s -> 455.693s (-1.62%) |
Successful merges:
{:#?}into backticks #160898 (Put{:#?}into backticks)r? @ghost
Create a similar rollup