-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 5 pull requests #147720
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 #147720
Conversation
Signed-off-by: Connor Tsui <[email protected]>
As part of work to add stdlib support for Motor OS.
Motor OS was added as a no-std Tier-3 target in rust-lang#146848 as x86_64-unknown-motor. This patch/PR adds the std library for Motor OS. While the patch may seem large, all it does is proxy std pal calls to moto-rt. When there is some non-trivial code (e.g. thread::spawn), it is quite similar, and often identical, to what other platforms do.
Signed-off-by: zhetaicheleba <[email protected]>
…grade, r=tgross35 Stabilize `rwlock_downgrade` library feature Tracking Issue: rust-lang#128203 Method to be stabilized: ```rust impl<'a, T: ?Sized> RwLockWriteGuard<'a, T> { pub fn downgrade(s: Self) -> RwLockReadGuard<'a, T> {} } ``` ~~I would like to point out that my documentation comment is longer than ideal, but at the same time I don't really know how else to show why `downgrade` is actually necessary (instead of just unlocking and relocking). If anyone has ideas for making this more concise that would be great!~~ I have made the documentation a bit more clear. Stabilization report: rust-lang#128203 (comment)
…ss35 std: Add Motor OS std library port Motor OS was added as a no-std Tier-3 target in [PR 146848](rust-lang#146848) as x86_64-unknown-motor. This PR adds the std library for Motor OS. While the PR may seem large, all it does is proxy std pal calls to [moto-rt](https://crates.io/crates/moto-rt). Where there is some non-trivial code (e.g. thread::spawn), it is quite similar, often identical, to what other platforms do.
some `ErrorGuaranteed` cleanups If we've got an `ErrorGuaranteed`, use it.
Fix some comments Fix some comments
…nts, r=bjorn3 miri: use allocator_shim_contents codegen helper r? `@bjorn3` Follow-up to rust-lang#147526, also using that new infrastructure in Miri.
|
@bors r+ rollup=never p=5 |
Rollup of 5 pull requests Successful merges: - #143191 (Stabilize `rwlock_downgrade` library feature) - #147000 (std: Add Motor OS std library port) - #147670 (some `ErrorGuaranteed` cleanups) - #147716 (Fix some comments) - #147718 (miri: use allocator_shim_contents codegen helper) r? `@ghost` `@rustbot` modify labels: rollup
|
💔 Test failed - checks-actions |
|
Error response from daemon: Get "https://ghcr.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) @bors retry |
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
Rollup of 5 pull requests Successful merges: - #143191 (Stabilize `rwlock_downgrade` library feature) - #147000 (std: Add Motor OS std library port) - #147670 (some `ErrorGuaranteed` cleanups) - #147716 (Fix some comments) - #147718 (miri: use allocator_shim_contents codegen helper) r? `@ghost` `@rustbot` modify labels: rollup
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
Successful merges:
rwlock_downgradelibrary feature #143191 (Stabilizerwlock_downgradelibrary feature)ErrorGuaranteedcleanups #147670 (someErrorGuaranteedcleanups)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup