about summary refs log tree commit diff
path: root/library/core/tests/task.rs
AgeCommit message (Collapse)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-25/+0
2023-01-02Remove test of static ContextDavid Tolnay-6/+2
Context is no longer Sync so this doesn't work. error[E0277]: `*mut ()` cannot be shared between threads safely --> library/core/tests/task.rs:24:21 | 24 | static CONTEXT: Context<'static> = Context::from_waker(&WAKER); | ^^^^^^^^^^^^^^^^ `*mut ()` cannot be shared between threads safely | = help: within `Context<'static>`, the trait `Sync` is not implemented for `*mut ()` = note: required because it appears within the type `PhantomData<*mut ()>` = note: required because it appears within the type `Context<'static>` = note: shared static variables must have a type that implements `Sync`
2022-09-14Made from_waker, waker, from_raw consty86-dev-1/+16
2020-09-04Move const tests for `Poll` to `library\core`Christiaan Dirkx-0/+14
Part of #76268