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-03-02 #10

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

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 3, 2025

This is an automated PR to update the subtree/library branch to the changes
from 2024-11-03 (b3f75cc)
to 2025-03-02 (8c39296), inclusive.

@github-actions github-actions bot force-pushed the update-subtree/library branch 2 times, most recently from 0562ec7 to 09e7494 Compare March 4, 2025 14:21
Darksonn and others added 28 commits March 6, 2025 14:21
- add tests for `a == b` where missing
- try to make all the tests more similar
- try to use more illustrative test values
`<` seems to be the "lucky one" for llvm
This removes two minor OnceLock tests which test private methods. The
rest of the tests should be more than enough to catch mistakes in those
private methods. Also makes ReentrantLock::try_lock public. And finally
it makes the mpmc tests actually run.
GrigorenkoPV and others added 28 commits March 6, 2025 14:21
Co-authored-by: Amanieu d'Antras <[email protected]>
For the zkVM, even when a guest buffer is uninitialized, from the host's
perspective it is just a normal piece of memory which was initialized
before letting the guest write into it. This makes `sys_read` safe to
use with an uninitialized buffer. See
risc0/risc0#2853.
Includes `f16` symbols on MIPS [1], updates for `libm` [2], and
reapplies the patch that drops the `public_test_deps!` macro [3].

[1]: rust-lang/compiler-builtins#762
[2]: rust-lang/compiler-builtins#765
[3]: rust-lang/compiler-builtins#766
It seems as if `f16` works on MIPS now according to my
testing on Rust master with LLVM 20, and I was asked to
create PRs with my changes.

I only tested on the flavour of `mipsel-unknown-linux-gnu`
hardware that happens to be available to me, so I can't say
anything about other MIPS hardware, but from a casual
skimming of the LLVM code ([1], [2]) it seems like `f16`
should work on all MIPS hardware. So enable it for all MIPS
hardware.

[1]: https://github.com/rust-lang/llvm-project/blob/rustc/20.1-2025-02-13/llvm/lib/Target/Mips/MipsISelLowering.h#L370
[2]: https://github.com/rust-lang/llvm-project/blob/rustc/20.1-2025-02-13/llvm/lib/CodeGen/TargetLoweringBase.cpp#L1367-L1388
There is a time window during which the OS can terminate a thread before stdlib
can retreive its `Packet`. Currently the `Thread::join` panics with no message
in such an event, which makes debugging difficult; fixes rust-lang#124466.
@github-actions github-actions bot force-pushed the update-subtree/library branch from 09e7494 to 7e867f1 Compare March 6, 2025 14:21
@github-actions github-actions bot changed the title Update subtree/library to 2025-02-21 Update subtree/library to 2025-03-02 Mar 6, 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.