Rustc pull update - #3023
Merged
Merged
Rustc pull update#3023
Conversation
The rust tests were disabled some time ago when fuchsia.googlesource.com was temporarily rate limiting git checkout requests during a high period of requests. This makes a number of attempts to avoid this issue: * It checks out Fuchsia with git filter `tree:0` to reduce download size. * It blocks downloading Fuchsia's Rust toolchain. * It adds a number of retries to requests. * It reduces the parallel git checkout threads. Since it has been a while since we updated the Fuchsia integration, it also updates: * Use the most recent commit [be532c]. * It updates to the clang commit [5e63f2]. * It updates to the Fuchsia SDK version 33.20260909.5.1. * It updates the ubuntu container to 26.04. * It renames the test job to `test-x86_64-fuchsia`. * The Fuchsia build system now requires shared libraries to be stripped. try-job: dist-various-2 try-job: test-x86_64-fuchsia [be532c]: https://fuchsia.googlesource.com/integration/+/be532c365aa6ba56b08ed684c0f8bb71960c18fd [5e63f2]: llvm/llvm-project@5e63f2c
x86: on targets that requires SSE, use those registers for ABI Now that llvm/llvm-project#142321 is fixed, we can use the vector ABI without re-introducing rust-lang/rust#139029. So this effectively reverts rust-lang/rust#141309. Since this means we are relying on the SSE target feature for the Rust ABI, we also need to turn the ABI target feature check into a hard error. If we don't do that, we'll get post-mono errors in some situations and plain miscompilations in others. Also this will cause performance regressions on LLVM 22 and 21 as those don't have the fix for llvm/llvm-project#142321. IMO that's fine. Programs will do the right thing, they will just be a bit slower due to rust-lang/rust#139029. r? @nikic Cc @tgross35
Fix test compiling Fuchsia with rust-under-test The rust tests for Fuchsia were disabled some time ago in rust-lang/rust#138690 when fuchsia.googlesource.com was temporarily rate limiting git checkout requests during a high period of requests. This makes a number of attempts to avoid this issue: * It checks out Fuchsia with git filter `tree:0` to reduce download size. * It blocks downloading Fuchsia's Rust toolchain. * It adds a number of retries to requests. * It reduces the parallel git checkout threads. Since it has been a while since we updated the Fuchsia integration, it also updates: * Use the most recent commit [be532c]. * It updates to the clang commit [5e63f2]. * It updates to the Fuchsia SDK version 33.20260909.5.1. * It updates the ubuntu container to 26.04. * It renames the test job to `test-x86_64-fuchsia`. * The Fuchsia build system now requires shared libraries to be stripped. * The Fuchsia build now requires the Rust toolchain to have the artifacts for arm64 and riscv64 to be present, even though they might not be used for this build. Note that I did use Gemini to help debug some issues, but all the code has been written by me. try-job: dist-various-2 try-job: test-x86_64-fuchsia [be532c]: https://fuchsia.googlesource.com/integration/+/be532c365aa6ba56b08ed684c0f8bb71960c18fd [5e63f2]: llvm/llvm-project@5e63f2c
This updates the rust-version file to 420ed2a0c3d7225b1744266fd884d431b4d8cfe0.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Previous upstream ref: rust-lang/rust@c999cef New upstream ref: rust-lang/rust@420ed2a Filtered ref: 5838df5 Upstream diff: rust-lang/rust@c999cef...420ed2a This merge was created using https://github.com/rust-lang/josh-sync.
Collaborator
|
Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Latest update from rustc.