about summary refs log tree commit diff
path: root/tests/coverage/async2.rs
AgeCommit message (Collapse)AuthorLines
2024-12-16Stabilize #[coverage] attributeltdk-1/+0
2024-12-05Stabilize noop_wakerEric Holk-1/+0
Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
2024-09-10coverage: Extract `executor::block_on` from several async coverage testsZalathar-18/+3
By moving `block_on` to an auxiliary crate, we avoid having to keep a separate copy of it in every async test. (This also incorporates some small tweaks to the headers in `await_ready.rs`.)
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-17Remove unnecessary `let`s and borrowing from `Waker::noop()` usage.Kevin Reid-2/+1
`Waker::noop()` now returns a `&'static Waker` reference, so it can be passed directly to `Context` creation with no temporary lifetime issue.
2023-12-15coverage: Use `Waker::noop` in async testsZalathar-15/+9
2023-11-07coverage: Migrate `tests/run-coverage` into `tests/coverage`Zalathar-0/+57