1
Fork 0

const_deallocate: Don't deallocate memory allocated in an another const. Does nothing at runtime.

`const_allocate`:  Returns a null pointer at runtime.
This commit is contained in:
woppopo 2022-01-26 13:06:09 +09:00
parent aa6795e2d4
commit 29932db09b
8 changed files with 69 additions and 11 deletions

View file

@ -13,6 +13,7 @@
#![feature(const_bool_to_option)]
#![feature(const_cell_into_inner)]
#![feature(const_convert)]
#![feature(const_heap)]
#![feature(const_maybe_uninit_as_mut_ptr)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_maybe_uninit_assume_init_read)]