rust-lang/rust

increase test coverage for async-await

Closed this issue · 5 comments

As part of the async-await feature we want to make sure we have good test coverage. We have a master list of tests prepared by @cramertj and @Centril that we'd like to complete.

#62106 is a first step towards this.

delan commented

as discussed in #62518, I can do some async unsafe fn tests starting with

  • Check that an async unsafe fn requires unsafe { ... } to be called.
    • Including async unsafe fn implementations...
  • Tangentially also test the behavior of unsafe { async { $stuff } } wrt. allowing unsafe operations in $stuff.

Thanks to everyone who contributed tests! I believe the test suite is now substantially more robust than from the outset of starting the test drive. While it is desirable to continue the drive for tests (and please do contribute more tests in areas you find lacking!), I think the testsuite is non-blocking in terms of stabilization. Therefore I'm relabeling this to -Deferred.

This issue has served its purpose. I'm going to close. =)