Update Rust and switch to stable channel #94

Merged
sb10q merged 1 commits from atse/thermostat:use-rust-stable into master 2024-08-17 17:37:18 +08:00
Contributor

Update Rust and switch to stable channel so we get bugfixes and QoL improvements, e.g. rust-analyzer would finally work properly. This is the most up-to-date Rust stable version I can get it, later versions freeze the firmware on startup for some reason.

Update Rust and switch to stable channel so we get bugfixes and QoL improvements, e.g. rust-analyzer would finally work properly. This is the most up-to-date Rust stable version I can get it, later versions freeze the firmware on startup for some reason.
atse added 4 commits 2024-01-17 15:41:21 +08:00
Move away from panic_abort as it uses intrinsics, which is nightly only.
Put SocketState initialisation logic in new. This avoids using an unsafe
and unnerving MaybeUninit::uninit().assume_init() to initialise an
array, which the compiler yells at since it causes undefined behavior.
sb10q merged commit 6cd6a6a2c2 into master 2024-01-17 15:56:13 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#94
No description provided.