-
|
For a low-power application (on the ESP32-C6), I keep state in RTC memory like this: I then access and modify the state in Rust's 2024 edition has disallowed this. What's a good way to do it now? |
Beta Was this translation helpful? Give feedback.
Answered by
blinry
Sep 17, 2025
Replies: 2 comments 2 replies
-
|
Looks like we might need an |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Use the workaround described here for now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone finding this in the future, I used
#![allow(static_mut_refs)]to make it work in the 2024 edition.