Skip to content
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 subtree/library to 2025-02-10 #262

Open
wants to merge 481 commits into
base: subtree/library
Choose a base branch
from

Conversation

tautschnig
Copy link
Member

This is an automation-prepared PR to update the subtree/library branch to the changes from 2024-11-03 to 2025-02-11, inclusive.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

kleisauke and others added 30 commits February 22, 2025 14:07
Align it with musl, which also prefers using lstat() here.
Compare: rust-lang/backtrace-rs@230570f...4d7906b

Mostly cleanups and enabling backtraces for the RTEMS target.
Co-authored-by: Yotam Ofek <yotam.ofek@gmail.com>
Co-authored-by: Hanna Kruppe <hanna.kruppe@gmail.com>
I prefer when we can ship the same version of backtrace on crates.io,
and this will be the next published version.

Compare: rust-lang/backtrace-rs@4d7906b...0.3.75

Mostly internal-to-backtrace changes, plus a tiny code size win.
The implementation is unsound when a partially consumed iterator has
some elements buffered in the front/back parts and cloning the Iterator
removes the capacity from the backing vec::IntoIter.
Fixes
```
Checking stage0 library artifacts {alloc, core, panic_abort, panic_unwind, proc_macro, std, sysroot, test, unwind} (x86_64-unknown-linux-gnu)
warning: profile package spec `adler` in profile `release` did not match any packages

	Did you mean `adler2`?
```
Searching "fma" in the Rust documentation returns results for
`intrinsics::fma*`, but does not point to the user-facing `mul_add`. Add
aliases for `fma*` and the IEEE operation name `fusedMultiplyAdd`. Add
the IEEE name to `sqrt` as well, `squareRoot`.
Signed-off-by: crystalstall <crystalruby@qq.com>
Gated behind an unstable `-Z emscripten-wasm-eh` flag
This renames variables named `str` to other names, to make sure `str`
always refers to a type.

It's confusing to read code where `str` (or another standard type name)
is used as an identifier. It also produces misleading syntax
highlighting.
Signed-off-by: tison <wander4096@gmail.com>
This always falls back to sleeping since there is no way
to notify a condvar on a target without threads.
TDecking and others added 23 commits February 22, 2025 14:07
as well as `HashMap::get_many_unchecked_mut` to
`HashMap::get_disjoint_unchecked_mut`.
While working on rust-lang#122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
- Just a copy of sys/net/unsupported.
- Will make the future net PRs easier to review.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
This was never modified since `std::net` was originally introduced, when
each CI job was running multiple jobs concurrently which caused issues
with fighting over the same ports. This is not the case in the current
CI infrastructure, so remove this relic.
This PR lets `impl Default for Rc<str>` re-use the implementation
for `Rc::<[u8]>::default()`. The previous version only calculted the
memory layout at runtime, even though it should be known at compile
time, resulting in an additional function call.

The same optimization is done for `Rc<CStr>`.

Generated byte code: <https://godbolt.org/z/dfq73jsoP>.

Resolves <rust-lang#135784>.
Because the neutral element of `<fNN as iter::Sum>` was changed to
`neg_zero`, the documentation needed to be updated, as it was reporting
inadequate information about what should be expected from the return.

Co-authored-by: Jubilee <workingjubilee@gmail.com>
This allows Rust on Fuchsia to use a number of function calls from libc:

* dirfd
* fdatasync
* flock with LOCK_EX, LOCK_SH, LOCK_NB, LOCK_UN
* fstatat
@tautschnig
Copy link
Member Author

This should be merged using the "rebase" strategy right after #259.

@carolynzech
Copy link

carolynzech commented Mar 3, 2025

The last commit, which corresponds to rust-lang#136771, seems to be from 2/15.

@tautschnig
Copy link
Member Author

The last commit, which corresponds to rust-lang#136771, seems to be from 2/15.

Err, thanks, I should have done this more carefully on the first attempt. The last commit now corresponds to rust-lang/rust@ad92b850c6c8e2b1.

@tautschnig tautschnig force-pushed the update-subtree/library branch from 7266dc7 to c99d2c5 Compare March 3, 2025 23:23
@tautschnig tautschnig changed the title Update subtree/library to 2025-02-11 Update subtree/library to 2025-02-10 Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.