|
|
|
|
|
by mkj
265 days ago
|
|
With Rust there are ways to do that on embedded (no heap). A wrapper StaticCell holds the allocation, then when you are ready you intialise it with the inner value. From then on work with a mut reference to the inner value. Being a bit verbose is the main downside AFAIK. https://github.com/embassy-rs/static-cell |
|