-
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 6 pull requests #133423
base: master
Are you sure you want to change the base?
Rollup of 6 pull requests #133423
Commits on Nov 18, 2024
-
std: allow after-main use of synchronization primitives
By creating an unnamed thread handle when the actual one has already been destroyed, synchronization primitives using thread parking can be used even outside the Rust runtime. This also fixes an inefficiency in the queue-based `RwLock`: if `thread::current` was not initialized yet, it will create a new handle on every parking attempt without initializing `thread::current`. The private `current_or_unnamed` function introduced here fixes this.
Configuration menu - View commit details
-
Copy full SHA for 5a856b8 - Browse repository at this point
Copy the full SHA 5a856b8View commit details
Commits on Nov 21, 2024
-
Mention that std::fs::remove_dir_all fails on files
This is explicitly mentioned for std::fs::remove_file's documentation, but not in the aforementioned function. It is more likely for a slightly lazy programmer to believe that removing a file would work and that they do not have to distinguish between directories (with contents) and files themself, because of the function's recursive nature and how it distinguishes between files and directories when removing them.
Configuration menu - View commit details
-
Copy full SHA for 197bba5 - Browse repository at this point
Copy the full SHA 197bba5View commit details
Commits on Nov 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 30d68eb - Browse repository at this point
Copy the full SHA 30d68ebView commit details
Commits on Nov 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 04d1bdc - Browse repository at this point
Copy the full SHA 04d1bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a23669 - Browse repository at this point
Copy the full SHA 3a23669View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc5fee - Browse repository at this point
Copy the full SHA 7cc5feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a0e57 - Browse repository at this point
Copy the full SHA b9a0e57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3440505 - Browse repository at this point
Copy the full SHA 3440505View commit details -
Rollup merge of rust-lang#132730 - joboet:after_main_sync, r=Noratrieb
std: allow after-main use of synchronization primitives By creating an unnamed thread handle when the actual one has already been destroyed, synchronization primitives using thread parking can be used even outside the Rust runtime. This also fixes an inefficiency in the queue-based `RwLock`: if `thread::current` was not initialized yet, it will create a new handle on every parking attempt without initializing `thread::current`. The private `current_or_unnamed` function introduced here fixes this.
Configuration menu - View commit details
-
Copy full SHA for 31b4023 - Browse repository at this point
Copy the full SHA 31b4023View commit details -
Rollup merge of rust-lang#133105 - bvanjoi:issue-132743, r=petrochenkov
only store valid proc macro item for doc link Fixes rust-lang#132743 The definition item can be detected if it is exported in the doc, so store these items rather than skipping. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 6b07382 - Browse repository at this point
Copy the full SHA 6b07382View commit details -
Rollup merge of rust-lang#133260 - compiler-errors:deref, r=fee1-dead
Constify the `Deref`/`DerefMut` traits, too One more constification. Rebased on that one commit that makes it so we don't need to provide stability on const impls. r? fee1-dead
Configuration menu - View commit details
-
Copy full SHA for 6bf9a23 - Browse repository at this point
Copy the full SHA 6bf9a23View commit details -
Rollup merge of rust-lang#133297 - DianQK:embed-bitcode-ios, r=nikic
Remove legacy bitcode for iOS Follow rust-lang#117364.
Configuration menu - View commit details
-
Copy full SHA for 8d20d71 - Browse repository at this point
Copy the full SHA 8d20d71View commit details -
Rollup merge of rust-lang#133298 - n0toose:remove-dir-all-but-not-pat…
…hs, r=Noratrieb Mention that std::fs::remove_dir_all fails on files This is explicitly mentioned for std::fs::remove_file. It is more likely for a slightly lazy programmer to believe that removing a file would work and that they do not have to distinguish between directories (with contents) and files themself, because of the function's recursive nature and how it distinguishes between files and directories when removing them. Follow-up for rust-lang#133183.
Configuration menu - View commit details
-
Copy full SHA for 1741b39 - Browse repository at this point
Copy the full SHA 1741b39View commit details -
Rollup merge of rust-lang#133384 - RalfJung:vector-abi-check-tests, r…
…=jieyouxu add a test for target-feature-ABI warnings in closures and when calling extern fn Also update the comment regarding the inheritance of target features into closures, to make it more clear that we really shouldn't do this right now.
Configuration menu - View commit details
-
Copy full SHA for c50e19b - Browse repository at this point
Copy the full SHA c50e19bView commit details