-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Update cc-rs to 1.2.39 #146186
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
Update cc-rs to 1.2.39 #146186
Conversation
|
Failed to set assignee to
|
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in compiler/rustc_codegen_ssa |
|
@bors try jobs=aarch64-msvc-1,aarch64-apple,test-various,dist-apple-various |
This comment has been minimized.
This comment has been minimized.
Update cc-rs to 1.2.33 try-job: aarch64-msvc-1 try-job: aarch64-apple try-job: test-various try-job: dist-apple-various
|
Let me know @dpaoliello if you want to try with |
|
Reminder, once the PR becomes ready for a review, use |
This comment has been minimized.
This comment has been minimized.
|
I switched to @rustbot ready |
This comment has been minimized.
This comment has been minimized.
|
The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging. |
|
@bors r=davidtwco,jieyouxu |
|
Done @rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@bors r+ rollup=never |
|
☀️ 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 c9537a9 (parent) -> bc1d727 (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard bc1d7273dfbc6f8a11c0086fa35f6748a13e8d3c --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 (bc1d727): comparison URL. Overall result: ❌ regressions - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@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 -3.1%, secondary -3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -1.9%, secondary 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: 474.143s -> 475.525s (0.29%) |
|
... I did not expect that, feel free to post a revert if this isn't noise, won't have chance to investigate until EOD tmrw. |
|
@dpaoliello this PR wasn’t expected to impact compile-time performance this much, right? |
|
No, I wouldn't have thought so. I may have missed a change that would affect it. |
Revert "Auto merge of #146186 - dpaoliello:cc, r=jieyouxu"
|
I investigated the regression a bit, I don't think it's A hunch could be that Alternatively it might be |
|
We saw similar-ish wins (in the opposite direction) when -flto started being passed to jemalloc. Maybe that regressed now? |
Revert "Auto merge of #146186 - dpaoliello:cc, r=jieyouxu" This reverts #146186. This will mean regressing whichever `cc` fixes were needed for > fixes when compiling the Rust compiler for Arm64EC. It's not clear which `cc` change causes the across-the-board perf regression, I suspect it's a change in how certain compiler flags are handed. But I can immediately tell this is a rabbit hole to investigate, so let's revert for now to return-to-baseline and alleviate time pressure.
Revert "Auto merge of #146186 - dpaoliello:cc, r=jieyouxu" This reverts rust-lang/rust#146186. This will mean regressing whichever `cc` fixes were needed for > fixes when compiling the Rust compiler for Arm64EC. It's not clear which `cc` change causes the across-the-board perf regression, I suspect it's a change in how certain compiler flags are handed. But I can immediately tell this is a rabbit hole to investigate, so let's revert for now to return-to-baseline and alleviate time pressure.
For my purposes, contains fixes when compiling the Rust compiler for Arm64EC.
Checked the commits since 1.2.16, and I don't see anything else that may affect Rust?
find-msvc-toolswas also factored out fromccto allow updating the use inrustc_codegen_ssa(finding the linker when running the Rust compiler) to be separate from the use inrustc_llvm(building LLVM as part of the Rust compiler).