-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 5 pull requests #130483
Rollup of 5 pull requests #130483
Commits on Aug 28, 2024
-
Matthew Giordano committed
Aug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 13e36cf - Browse repository at this point
Copy the full SHA 13e36cfView commit details
Commits on Aug 29, 2024
-
Matthew Giordano committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 21cb847 - Browse repository at this point
Copy the full SHA 21cb847View commit details -
Matthew Giordano committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 4abb8e2 - Browse repository at this point
Copy the full SHA 4abb8e2View commit details -
Matthew Giordano committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 2383cc9 - Browse repository at this point
Copy the full SHA 2383cc9View commit details -
Matthew Giordano committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 68169d3 - Browse repository at this point
Copy the full SHA 68169d3View commit details
Commits on Sep 6, 2024
-
Matthew Giordano committed
Sep 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 97df334 - Browse repository at this point
Copy the full SHA 97df334View commit details -
Matthew Giordano committed
Sep 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 550e55f - Browse repository at this point
Copy the full SHA 550e55fView commit details
Commits on Sep 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4db9c01 - Browse repository at this point
Copy the full SHA 4db9c01View commit details
Commits on Sep 9, 2024
-
detect when pthread_rwlock_t is moved
For some implementations of pthreads, the address of pthread_rwlock_t (or its fields) is used to identify the lock. That means that if the contents of a pthread_rwlock_t are moved in memory, effectively a new lock object is created, which is completely independted from the original. Thus we want to detect when when such objects are moved and show an error.
Configuration menu - View commit details
-
Copy full SHA for ff28977 - Browse repository at this point
Copy the full SHA ff28977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1185eb0 - Browse repository at this point
Copy the full SHA 1185eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4eeb31 - Browse repository at this point
Copy the full SHA d4eeb31View commit details -
Auto merge of rust-lang#3867 - DeSevilla:rename-fd, r=RalfJung
Renamed variable and fixed comments referring to renamed FileDescriptor Fixes rust-lang#3808, does not change any functionality
Configuration menu - View commit details
-
Copy full SHA for e6604ea - Browse repository at this point
Copy the full SHA e6604eaView commit details -
Auto merge of rust-lang#3872 - trivikr:actions-checkout-v4, r=RalfJung
ci: bump actions/checkout to v4 Required for using Node.js 20.x in CI * Changelog for actions/checkout@v4 https://github.com/actions/checkout/blob/main/CHANGELOG.md?rgh-link-date=2024-09-04T18%3A38%3A10Z#v400 * GitHub Blog post https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ Refs: rust-lang#130124 (comment)
Configuration menu - View commit details
-
Copy full SHA for 797ddd2 - Browse repository at this point
Copy the full SHA 797ddd2View commit details -
Auto merge of rust-lang#3871 - Mandragorian:detect_rwlock_move, r=Ral…
…fJung detect when pthread_rwlock_t is moved For some implementations of pthreads, the address of pthread_rwlock_t (or its fields) is used to identify the lock. That means that if the contents of a pthread_rwlock_t are moved in memory, effectively a new lock object is created, which is completely independted from the original. Thus we want to detect when when such objects are moved and show an error. see also rust-lang#3749 for more context
Configuration menu - View commit details
-
Copy full SHA for 0aa3fd4 - Browse repository at this point
Copy the full SHA 0aa3fd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51dbed2 - Browse repository at this point
Copy the full SHA 51dbed2View commit details -
sync: store extra sync primitive data in a Box<dyn Any> so the type c…
…an be kept local
Configuration menu - View commit details
-
Copy full SHA for 218057c - Browse repository at this point
Copy the full SHA 218057cView commit details -
Auto merge of rust-lang#3874 - RalfJung:sync, r=RalfJung
a bit of refactoring in "sync" - Use `Box<dyn Any>` to keep the "extra data" local to the module implementing the primitive - Pass around places, not pointers Cc `@Mandragorian` -- sorry I couldn't resist and did the `Any` thing ;)
Configuration menu - View commit details
-
Copy full SHA for 0225309 - Browse repository at this point
Copy the full SHA 0225309View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0d12c58 - Browse repository at this point
Copy the full SHA 0d12c58View commit details -
Configuration menu - View commit details
-
Copy full SHA for c78cd65 - Browse repository at this point
Copy the full SHA c78cd65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e70bd4 - Browse repository at this point
Copy the full SHA 6e70bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d4cc9 - Browse repository at this point
Copy the full SHA 79d4cc9View commit details
Commits on Sep 11, 2024
-
Preparing for merge from rustc
The Miri Cronjob Bot committedSep 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 4712e57 - Browse repository at this point
Copy the full SHA 4712e57View commit details -
The Miri Cronjob Bot committed
Sep 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 19fa141 - Browse repository at this point
Copy the full SHA 19fa141View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6ce60 - Browse repository at this point
Copy the full SHA 7e6ce60View commit details -
Auto merge of rust-lang#3878 - rust-lang:rustup-2024-09-11, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for 59835ae - Browse repository at this point
Copy the full SHA 59835aeView commit details
Commits on Sep 12, 2024
-
Preparing for merge from rustc
The Miri Cronjob Bot committedSep 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 2f09cac - Browse repository at this point
Copy the full SHA 2f09cacView commit details -
The Miri Cronjob Bot committed
Sep 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 93ef7cd - Browse repository at this point
Copy the full SHA 93ef7cdView commit details -
Auto merge of rust-lang#3879 - rust-lang:rustup-2024-09-12, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for 5fc0865 - Browse repository at this point
Copy the full SHA 5fc0865View commit details -
Configuration menu - View commit details
-
Copy full SHA for 157dd83 - Browse repository at this point
Copy the full SHA 157dd83View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4d0ae9 - Browse repository at this point
Copy the full SHA e4d0ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c7a45 - Browse repository at this point
Copy the full SHA b7c7a45View commit details -
Auto merge of rust-lang#3880 - RalfJung:sync, r=RalfJung
add non-portable linux pthread initializers to layout sanity check Also, turns out we can enable all pthread tests on Solarish.
Configuration menu - View commit details
-
Copy full SHA for 9621058 - Browse repository at this point
Copy the full SHA 9621058View commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd01ee7 - Browse repository at this point
Copy the full SHA dd01ee7View commit details -
Auto merge of rust-lang#3883 - RalfJung:miri-run-dep, r=RalfJung
smoke-test './miri run --dep' I don't actually know if this works on Windows.^^
Configuration menu - View commit details
-
Copy full SHA for d5ad772 - Browse repository at this point
Copy the full SHA d5ad772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03f14f0 - Browse repository at this point
Copy the full SHA 03f14f0View commit details -
Auto merge of rust-lang#3881 - RalfJung:miri-run, r=RalfJung
./miri run: directly run binary instead of using 'cargo run' This avoids re-building miri without dev dependencies, so it makes `./miri run` a lot faster if `./miri test` was already executed before.
Configuration menu - View commit details
-
Copy full SHA for 20862e4 - Browse repository at this point
Copy the full SHA 20862e4View commit details
Commits on Sep 14, 2024
-
Preparing for merge from rustc
The Miri Cronjob Bot committedSep 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 9bab91f - Browse repository at this point
Copy the full SHA 9bab91fView commit details -
The Miri Cronjob Bot committed
Sep 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 94d4991 - Browse repository at this point
Copy the full SHA 94d4991View commit details -
Auto merge of rust-lang#3885 - rust-lang:rustup-2024-09-14, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for 583f358 - Browse repository at this point
Copy the full SHA 583f358View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6dea9e - Browse repository at this point
Copy the full SHA b6dea9eView commit details -
Auto merge of rust-lang#3884 - Mandragorian:detect_cond_move, r=RalfJung
detect when pthread_cond_t is moved Closes rust-lang#3749
Configuration menu - View commit details
-
Copy full SHA for 8c4f055 - Browse repository at this point
Copy the full SHA 8c4f055View commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efdc01b - Browse repository at this point
Copy the full SHA efdc01bView commit details -
pthread: add FreeBSD, remove PTHREAD_MUTEX_NORMAL_FLAG hack
On FreeBSD, DEFAULT maps to ERRORCK. This clashes with the existing PTHREAD_MUTEX_NORMAL_FLAG: hack so we replace it by a different hack that works better cross-platform. Also fix a case of "accidental early UB" in a UB test -- pthread_mutexattr_t must be initialized.
Configuration menu - View commit details
-
Copy full SHA for 4000027 - Browse repository at this point
Copy the full SHA 4000027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cdf5f7 - Browse repository at this point
Copy the full SHA 2cdf5f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed9188 - Browse repository at this point
Copy the full SHA 2ed9188View commit details -
Auto merge of rust-lang#3886 - RalfJung:freebsd-pthread, r=RalfJung
support pthread primitives on FreeBSD Fixes rust-lang/miri#3571: makes out pthread implementation support FreeBSD. FreeBSD sets PHTREAD_MUTEX_DEFAULT == PHTREAD_MUTEX_ERRORCK, so the logic for handling "default vs explicitly set mutex kind" had to be adjusted. The rest is just some general cleanup of the pthread logic, and I realized that we can enable the std::sync tests on Solarish.
Configuration menu - View commit details
-
Copy full SHA for 75921d2 - Browse repository at this point
Copy the full SHA 75921d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb445d0 - Browse repository at this point
Copy the full SHA cb445d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee38bf - Browse repository at this point
Copy the full SHA 8ee38bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f394c6c - Browse repository at this point
Copy the full SHA f394c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f3bec4 - Browse repository at this point
Copy the full SHA 5f3bec4View commit details -
Auto merge of rust-lang#3889 - RalfJung:android-pthread, r=RalfJung
add Android pthread support Also extend what we test on Solarish / FreeBSD, turns out a few more things are working.
Configuration menu - View commit details
-
Copy full SHA for 7d8ee71 - Browse repository at this point
Copy the full SHA 7d8ee71View commit details
Commits on Sep 16, 2024
-
Preparing for merge from rustc
The Miri Cronjob Bot committedSep 16, 2024 Configuration menu - View commit details
-
Copy full SHA for ffcaa7f - Browse repository at this point
Copy the full SHA ffcaa7fView commit details -
The Miri Cronjob Bot committed
Sep 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 4d824fd - Browse repository at this point
Copy the full SHA 4d824fdView commit details -
The Miri Cronjob Bot committed
Sep 16, 2024 Configuration menu - View commit details
-
Copy full SHA for 1692d12 - Browse repository at this point
Copy the full SHA 1692d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8a18f - Browse repository at this point
Copy the full SHA 5b8a18fView commit details -
Auto merge of rust-lang#3892 - rust-lang:rustup-2024-09-16, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for a0f57d8 - Browse repository at this point
Copy the full SHA a0f57d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f9f198 - Browse repository at this point
Copy the full SHA 9f9f198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 987702f - Browse repository at this point
Copy the full SHA 987702fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dabcc3 - Browse repository at this point
Copy the full SHA 4dabcc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e04dc62 - Browse repository at this point
Copy the full SHA e04dc62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b25298 - Browse repository at this point
Copy the full SHA 1b25298View commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 472fef6 - Browse repository at this point
Copy the full SHA 472fef6View commit details -
Update library/alloc/src/sync.rs
Co-authored-by: David Tolnay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6750f04 - Browse repository at this point
Copy the full SHA 6750f04View commit details -
Preparing for merge from rustc
The Miri Cronjob Bot committedSep 17, 2024 Configuration menu - View commit details
-
Copy full SHA for 540b4da - Browse repository at this point
Copy the full SHA 540b4daView commit details -
The Miri Cronjob Bot committed
Sep 17, 2024 Configuration menu - View commit details
-
Copy full SHA for 48440b1 - Browse repository at this point
Copy the full SHA 48440b1View commit details -
The Miri Cronjob Bot committed
Sep 17, 2024 Configuration menu - View commit details
-
Copy full SHA for c5f5cfc - Browse repository at this point
Copy the full SHA c5f5cfcView commit details -
Auto merge of rust-lang#3866 - rust-lang:ui_test_26_1, r=oli-obk
Bump ui test to 0.26 lots of issues fixed and various improvements 🤞 that it works this time around
Configuration menu - View commit details
-
Copy full SHA for f6ae3cb - Browse repository at this point
Copy the full SHA f6ae3cbView commit details -
Auto merge of rust-lang#3893 - rust-lang:autolabel, r=RalfJung
Automatically add/remove labels when github review (requests) are used
Configuration menu - View commit details
-
Copy full SHA for 9c3a392 - Browse repository at this point
Copy the full SHA 9c3a392View commit details -
Auto merge of rust-lang#3894 - rust-lang:rustup-2024-09-17, r=RalfJung
Automatic Rustup
Configuration menu - View commit details
-
Copy full SHA for d0f4a52 - Browse repository at this point
Copy the full SHA d0f4a52View commit details -
Tokio ICE fix: Changed the type of EpollEventInterest::epfd from i32 …
…to WeakFileDescriptionRef
Configuration menu - View commit details
-
Copy full SHA for 143710f - Browse repository at this point
Copy the full SHA 143710fView commit details -
Auto merge of rust-lang#3891 - tiif:tokiotest, r=RalfJung
Fix tokio test ICE Fixes rust-lang#3858 It turned out that the issue mentioned [here](rust-lang/miri#3858 (comment)) is the exact cause of ICE. So in this PR, I changed the type of ``EpollEventInterest::epfd`` from ``i32`` to ``WeakFileDescriptionRef``.
Configuration menu - View commit details
-
Copy full SHA for b880024 - Browse repository at this point
Copy the full SHA b880024View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba86cf8 - Browse repository at this point
Copy the full SHA ba86cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a25324 - Browse repository at this point
Copy the full SHA 0a25324View commit details -
fluent_macro: fix diagnostics for fluent parse failures
This line number calculation was both wrong and unnecessary.
Configuration menu - View commit details
-
Copy full SHA for 5b3bde9 - Browse repository at this point
Copy the full SHA 5b3bde9View commit details -
Rollup merge of rust-lang#129477 - Xiretza:fix-fluent-diagnostics, r=…
…compiler-errors Fix fluent diagnostics This line number calculation was both wrong and unnecessary.
Configuration menu - View commit details
-
Copy full SHA for 8b36ecb - Browse repository at this point
Copy the full SHA 8b36ecbView commit details -
Rollup merge of rust-lang#129674 - matthewpipie:rc-arc-new-cyclic-in,…
… r=dtolnay Add new_cyclic_in for Rc and Arc Currently, new_cyclic_in does not exist for Rc and Arc. This is an oversight according to rust-lang/wg-allocators#132. This PR adds new_cyclic_in for Rc and Arc. The implementation is almost the exact same as new_cyclic with some small differences to make it allocator-specific. new_cyclic's implementation has been replaced with a call to `new_cyclic_in(data_fn, Global)`. Remaining questions: * ~~Is requiring Allocator to be Clone OK? According to rust-lang/wg-allocators#88, Allocators should be cheap to clone. I'm just hesitant to add unnecessary constraints, though I don't see an obvious workaround for this function since many called functions in new_cyclic_in expect an owned Allocator. I see Allocator.by_ref() as an option, but that doesn't work on when creating Weak { ptr: init_ptr, alloc: alloc.clone() }, because the type of Weak then becomes Weak<T, &A> which is incompatible.~~ Fixed, thank you `@zakarumych!` This PR no longer requires the allocator to be Clone. * Currently, new_cyclic_in's documentation is almost entirely copy-pasted from new_cyclic, with minor tweaks to make it more accurate (e.g. Rc<T> -> Rc<T, A>). The example section is removed to mitigate redundancy and instead redirects to cyclic_in. Is this appropriate? * ~~The comments in new_cyclic_in (and much of the implementation) are also copy-pasted from new_cyclic. Would it be better to make a helper method new_cyclic_in_internal that both functions call, with either Global or the custom allocator? I'm not sure if that's even possible, since the internal method would have to return Arc<T, Global> and I don't know if it's possible to "downcast" that to an Arc<T>. Maybe transmute would work here?~~ Done, thanks `@zakarumych` * Arc::new_cyclic is #[inline], but Rc::new_cyclic is not. Which is preferred? * nit: does it matter where in the impl block new_cyclic_in is defined?
Configuration menu - View commit details
-
Copy full SHA for f6fd305 - Browse repository at this point
Copy the full SHA f6fd305View commit details -
Rollup merge of rust-lang#130452 - randomPoison:trusty-update-maintai…
…ners, r=ehuss Update Trusty target maintainers Remove Stephen Crane from the list of Trusty target maintainers and add Andrei Homescu (`@ahomescu)` and Chris Wailes.
Configuration menu - View commit details
-
Copy full SHA for 084e93a - Browse repository at this point
Copy the full SHA 084e93aView commit details -
Rollup merge of rust-lang#130467 - RalfJung:miri-sync, r=RalfJung
Miri subtree update r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for 9087312 - Browse repository at this point
Copy the full SHA 9087312View commit details -
Rollup merge of rust-lang#130477 - tmandry:revert-llvm-20-lto, r=tmandry
Revert rust-lang#129749 to fix segfault in LLVM This reverts commit 8c7a7e3, reversing changes made to a00bd75. Reported in rust-lang#129749 (comment). `@nikic's` theory is that the LLVM API changed in a way that makes it impossible to use concurrently from multiple threads (llvm/llvm-project#106427 (comment)). I pinged `@krasimirgg` who was fine with reverting. r? `@rust-lang/wg-llvm`
Configuration menu - View commit details
-
Copy full SHA for f8090dd - Browse repository at this point
Copy the full SHA f8090ddView commit details