Skip to content

Allow static memory for backing store #2

Open
@nastevens

Description

@nastevens

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions