This Month in Rust OSDev: June 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.
- Munal OS: a fully graphical experimental OS with WASM-based application sandboxing
- SafaOS now has USB support and a working aarch64 port
- R9: a reimplementation of the plan9 kernel in Rust
- This Month in Redox - June 2025
- Ratatui alpha with no-std support released
- crate for creating terminal user interfaces
- flat_rbtree: A fast, index-based Red-Black Tree with no heap allocations
Linux-related
- Kernel Memory Safety: Mission Accomplished
- How to write Rust in the kernel: part 2
- A Newbie's First Contribution to (Rust for) Linux
- Writing a basic Linux device driver when you know nothing about Linux drivers or USB
Infrastructure and Tooling
In this section, we collect recent updates to rustc
, cargo
, and other tooling that are relevant to Rust OS development.
- Stabilizing naked functions
- Add new Tier-3 targets:
loongarch32-unknown-none*
- Allow storing
format_args!()
in a variable
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:
- Updating Uefi Raw for EFI Shell Protocol
- SNP Integration Test: Improve Clarity
- ci: Temporarily pin to older nightly
- fix typo
ctr16!
tocstr16!
- xtask: Allow clippy::collapsible_if lint
- uefi: Fix clippy::uninlined_format_args lint
- test-runner: Fix clippy::uninlined_format_args lint
- uefi: Fix clippy::unnecessary_unwrap lint
- Fix mismatched_lifetime_syntaxes lint
- uefi: Make PciIoAddress orderable and hashable
- uefi: Fix io-align == 0 edgecase handling for ata & nvme
- uefi-raw: Add HII_CONFIG_ACCESS and CONFIG_KEYWORD_HANDLER protocol bindings
- doc/uefi: improve Protocol documentation
- Fix lints/tests on nightly and unpin the CI nightly version
- uefi-services: prepare v0.26.0 release to accelerate migration/deprecation
- uefi-services: remove again
- uefi/test-runner: Remove
crate::
anduefi::
prefix from Status
Thanks to @seijikun, @nicholasbishop, @phip1611, @renovate[bot], @RenTrieu, and @diamant3 for their contributions!
ovmf-prebuilt
Maintained by @nicholasbishop and @phil-opp
The ovmf-prebuilt
project provides pre-built edk2 releases to make it easier to set up OVMF. We merged the following improvement this month:
multiboot2
Maintained by @phip1611
Convenient and safe parsing of Multiboot2 Boot Information (MBI) structures and the contained information tags. Usable in no_std environments, such as a kernel. An optional builder feature also allows the construction of the corresponding structures.
We merged the following PRs this month:
virtio-spec-rs
Maintained by @mkroening
The virtio-spec
crate provides definitions from the Virtual I/O Device (VIRTIO) specification.
This project aims to be unopinionated regarding actual VIRTIO drivers that are implemented on top of this crate.
We merged the following PRs this month:
Thanks to @stlankes for their contribution!
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:
Thanks to @aaronzper for their contribution!
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:
Thanks to @ChocolateLoverRaj for their contribution!
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.
No projects updates were submitted this month.
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.