about summary refs log tree commit diff
path: root/library/alloc/src/task.rs
AgeCommit message (Collapse)AuthorLines
2022-06-17Document the conditional existence of `alloc::sync` and `alloc::task`.Kevin Reid-0/+6
The wording is copied from `std::sync::atomic::AtomicPtr`, with additional advice on how to `#[cfg]` for it.
2021-04-22Document From implementations for Waker and RawWakerMichael Howell-0/+6
2021-02-20Update the bootstrap compilerJoshua Nelson-4/+0
Note this does not change `core::derive` since it was merged after the beta bump.
2021-02-03Stabilize the Wake traitYoshua Wuyts-7/+59
Co-Authored-By: Ashley Mannix <kodraus@hey.com>
2021-01-31Rollup merge of #79285 - yoshuawuyts:stabilize-arc_mutate_strong_count, ↵Jonas Schievink-2/+2
r=m-ou-se Stabilize Arc::{increment,decrement}_strong_count Tracking issue: https://github.com/rust-lang/rust/issues/71983 Stabilizes `Arc::{incr,decr}_strong_count`, enabling unsafely incrementing an decrementing the Arc strong count directly with fewer gotchas. This API was first introduced on nightly six months ago, and has not seen any changes since. The initial PR showed two existing pieces of code that would benefit from this API, and included a change inside the stdlib to use this. Given the small surface area, predictable use, and no changes since introduction, I'd like to propose we stabilize this. closes https://github.com/rust-lang/rust/issues/71983 r? `@Mark-Simulacrum` ## Links * [Initial implementation](https://github.com/rust-lang/rust/pull/70733) * [Motivation from #68700](https://github.com/rust-lang/rust/pull/68700#discussion_r396169064) * [Real world example in an executor](https://docs.rs/extreme/666.666.666666/src/extreme/lib.rs.html#13)
2021-01-15Don't mark `ineffective_unstable_trait_impl` as an internal lintJoshua Nelson-2/+4
It's not an internal lint: - It's not in the rustc::internal lint group - It's on unconditionally, because it actually lints `staged_api`, not the compiler This fixes a bug where `#[deny(rustc::internal)]` would warn that `rustc::internal` was an unknown lint.
2020-12-18Stabilize Arc::{incr,decr}_strong_countYoshua Wuyts-2/+2
2020-09-11Allow unstable From impl for [Raw]Waker.Mara Bos-0/+2
2020-08-18Move to intra-doc links for task.rs and vec.rsSurya Midatala-3/+1
2020-07-27mv std libs to library/mark-0/+91