A helper function to access the system information.
()
| 66 | |
| 67 | /// A helper function to access the system information. |
| 68 | pub fn read_system_info() -> SystemInfo { |
| 69 | CONFIG.with(|m| m.borrow().get().get().clone()) |
| 70 | } |
| 71 | |
| 72 | /// A helper function to write the system information to stable memory. |
| 73 | pub fn write_system_info(config: SystemInfo) { |