This Month in Rust OSDev: March 2025
Welcome to a new issue of "This Month in Rust OSDev". In these posts, we give a regular overview of notable changes in the Rust operating system development ecosystem.
This series is openly developed on GitHub. Feel free to open pull requests there with content you would like to see in the next issue. If you find some issues on this page, please report them by creating an issue or using our comment form at the bottom of this page.
Announcements, News, and Blog Posts
Here we collect news, blog posts, etc. related to OS development in Rust.
- Rust, compiled to Holy C, running on TempleOS
- My non-unix like rust OS SafaOS, now has a rust libstd port
- Introducing Ariel OS - an embedded library OS for small MCUs
- Stalloc: fast memory allocation on the stack
Infrastructure and Tooling
In this section, we collect recent updates to rustc
, cargo
, and other tooling that are relevant to Rust OS development.
rust-osdev
Projects
In this section, we give an overview of notable changes to the projects hosted under the rust-osdev
organization.
uefi-rs
Maintained by @GabrielMajeri, @nicholasbishop, and @phip1611
uefi
makes it easy to develop Rust software that leverages safe, convenient,
and performant abstractions for UEFI functionality.
We merged the following PRs this month:
- uefi: Implement SignalEvent() boot services function
- uefi: Improve handling of null-address allocations in allocate_pages
- uefi: Mark all function pointers in pxe::BaseCode unsafe
- uefi: Exclude null byte from CStr8 Display impl
- nix: switch to Nix Flake
- Fix unwanted rebuilds in xtask commands
- Create FUNDING.yml
- Implement conversions for IpAddress and MacAddress
- uefi: Clean up error docs in media protocols
- uefi: Reformat
use
items in pxe module - uefi: Consistently use
&mut self
for pxe::BaseCode methods - ci: fix typos
- Update Protocol/unsafe_protocol docs
- uefi: Use uefi_raw's
PxeBaseCodeProtocol
to implement the internals ofpxe::BaseCode
- uefi-raw: Add DiskInfo protocol binding
- uefi-raw: Add EXT_SCSI_PASS_THRU protocol binding
- uefi runtime: Increase default size of name buffer
- uefi-raw: Add conversions to/from core::net IP address types
- uefi: Enable unsafe_op_in_unsafe_fn lint
- uefi: Make pxe::Mode an opaque struct
- uefi: Implement safe wrapper for EFI_DISK_INFO_PROTOCOL
- uefi-raw: Add EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL bindings
- uefi-raw: Add documentation to ScsiIoScsiRequestPacket
- uefi-raw: Add EFI_ATA_PASS_THRU_PROTOCOL bindings
Thanks to @seijikun, @ifd3f, @ptf2, and @quic-bjorande for their contributions!
bootloader
Maintained by @phil-opp and @Freax13
The bootloader
crate implements a custom Rust-based bootloader for easy loading of 64-bit ELF executables. This month, we merged the following improvements:
Other Projects
In this section, we describe updates to Rust OS projects that are not directly related to the rust-osdev
organization. Feel free to create a pull request with the updates of your OS project for the next post.
phil-opp/blog_os
(Section written by @phil-opp)
We merged the following changes to the Writing an OS in Rust blog this month:
Thanks to @dobleuber and @JINHUILYU for their contributions!
Join Us?
Are you interested in Rust-based operating system development? Our rust-osdev
organization is always open to new members and new projects. Just let us know if you want to join! A good way for getting in touch is our Zulip chat.