-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rollup of 14 pull requests #130133
Rollup of 14 pull requests #130133
Conversation
Automatic Rustup
This shrinks `compiler/rustc_codegen_gcc/Cargo.lock` quite a bit. The only remaining dependencies in `compiler/rustc_codegen_gcc/Cargo.lock` are `gccjit`, `lang_tester`, and `boml`, all of which aren't used in any other compiler crates. The commit also reorders and adds comments to the `extern crate` items so they match those in miri.
Automatic Rustup
Fixes rust-lang#3595 by using -fvisibility=hidden and the visibility attribute supported by both gcc and clang rather than the previous gcc-only mechanism for symbol hiding. Also brings over cfg changes from rust-lang#3594 which enable native-lib functionality on all unixes.
Enable native libraries on macOS Fixes rust-lang#3595 by using `-fvisibility=hidden` and the visibility attribute supported by both gcc and clang rather than the previous gcc-only mechanism for symbol hiding. Also brings over cfg changes from rust-lang#3594 which enable native-lib functionality on all unixes. Thanks for taking a look, feedback very welcome! cc `@RalfJung`
…alfJung Detect when pthread_mutex_t is moved What I am not sure about this PR is how to support storing the additional mutex data like its address and kind. If I understand correctly the `concurrency::sync::Mutex` struct is to be used by any mutex implementation. This possibly means that different implementation might want to store different data in the mutex. So any additional data should be implementation defined somehow. Solutions that come to mind: - Store the additional data as `Box<dyn Any>` and the implementations can downcast their data when they fetch them. - Have each shim implementation define a `static mut` map between `MutexID`s and the additional data. Let me know Fixes rust-lang#3749
Automatic Rustup
miri.bat: use nightly toolchain Hopefully fixes rust-lang/miri#3863 (but I can't test that)
We no longer store the kind inside the pthread_mutex_t, so this comment is outdated.
…fJung Fix comment in mutex_id_offset We no longer store the kind inside the pthread_mutex_t, so this comment is outdated. Sorry I didn't catch this in the original PR.
It was [pointed out recently][comment] that enabling `wasm-component-ld` as a host tool is different from other host tools. This commit refactors the logic to match by deduplicating selection of when to build other tools and then using the same logic for `wasm-component-ld`. [comment]: rust-lang#127866 (comment)
…ion` because "Borrow" is the more idiomatic Rust term than "AddrOf".
Miri subtree update r? `@ghost`
@bors rollup=never p=14 r+ |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: 263a3aeeb8 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (1f44f0a): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 2.7%, secondary -3.7%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 3.9%, secondary -4.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (primary 0.1%, secondary 0.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 757.632s -> 756.978s (-0.09%) |
Successful merges:
rustc_codegen_gcc
. #129876 (Use sysroot crates maximally inrustc_codegen_gcc
.)AddrOfRegion
ofRegionVariableOrigin
toBorrowRegion
#130070 (Rename variantAddrOfRegion
ofRegionVariableOrigin
toBorrowRegion
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup