Open
Description
In addition to the alloc_stack
macro, there should be an alloc_static
macro. This is more difficult than the stack implementation because Rust considers any mutability of static
memory to be unsafe - and with good reason.
I think I can use the RefCell
type to allow for mutability without flooding everything with unsafe
, but that needs to be investigated.