This Month in Rust OSDev: April 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.
- Podcast: Microsoft rewriting Hyper-V components in Rust; calls 2025 "the year of Rust at Microsoft"
- Memory-safe sudo to become the default in Ubuntu
- Migration to rust-coreutils in Ubuntu 25.10
- noshell, a no_std argument parser and a shell for constrained systems
- Ariel OS - library OS for microcontrollers - now building on stable Rust
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-raw: Add binding for EFI_DEVICE_PATH_UTILITIES_PROTOCOL
- clippy: fix
- helpers: Add AlignedBuffer
- xtask: fix nixfmt + update Nix flake + fix CI
- uefi/doc: improve documentation of exit_boot_services + change signature
- uefi: Some convenient DevicePathUtilities helper methods
- uefi: Add safe protocol wrapper for EFI_EXT_SCSI_PASS_THRU_PROTOCOL
- uefi-raw: Fix ATA_PASS_THRU_PROTOCOL bindings
- snp network test fixes
- uefi-raw: Add EFI_USB_IO_PROTOCOL bindings
- uefi: Add safe protocol wrapper for EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL
- uefi: Move PoolString to enable additional use
- uefi-raw: Fix EFI_USB_IO_PROTOCOL implementation
- uefi-raw: Add EFI_USB2_HC_PROTOCOL bindings
- uefi: Add safe protocol wrapper for EFI_ATA_PASS_THRU_PROTOCOL
- uefi-raw: Move EFI_SIMPLE_NETWORK_PROTOCOL
- Enable access to hidden RAII guard components
- UEFI Allocator: add PAGE_SIZE shortcut
- xtask: Update OVMF release to EDK2_STABLE202502_R2
- add ip4config2 + http protocols support
- uefi-raw: Redefine UsbPortStatus and UsbTransferStatus
- uefi: remove duplication in DevicePathHeader; use uefi-raw
- uefi: Implement CalculateCrc32() boot services function
Thanks to @seijikun, @andersson, @kraxel, and @JarlEvanson for their contributions!
x86_64
Maintained by @phil-opp, @josephlr, and @Freax13
The x86_64
crate provides various abstractions for x86_64
systems, including wrappers for CPU instructions, access to processor-specific registers, and abstraction types for architecture-specific structures such as page tables and descriptor tables.
We merged the following PRs this month:
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:
- Added [[bin]] section to Cargo.toml
- loading UEFI using ovmf_prebuilt=0.2.3 with ovmf_code and ovmf_vars
Thanks to @tigeryant and @v4zha 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.