Rollup merge of #101798 - y86-dev:const_waker, r=lcnr
Make `from_waker`, `waker` and `from_raw` unstably `const` Make - `Context::from_waker` - `Context::waker` - `Waker::from_raw` `const`. Also added a small test.
This commit is contained in:
commit
ea076a4f9f
6 changed files with 26 additions and 4 deletions
|
@ -315,6 +315,7 @@
|
|||
#![feature(strict_provenance)]
|
||||
#![feature(maybe_uninit_uninit_array)]
|
||||
#![feature(const_maybe_uninit_uninit_array)]
|
||||
#![feature(const_waker)]
|
||||
//
|
||||
// Library features (alloc):
|
||||
#![feature(alloc_layout_extra)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue