oxidecomputer / hubris

A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
Mozilla Public License 2.0
3.04k stars 180 forks source link

Allow kernel to be built with stable toolchain. #1926

Closed cbiffle closed 1 week ago

cbiffle commented 2 weeks ago

The only nightly feature still used in the kernel is #[naked] on functions. This can be replaced with careful use of global_asm! to create functions in pure assembly language.

With this change, the kernel builds and works on stable 1.82.0 using my out-of-tree build system.