This Month in Rust OSDev: July 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.
- You Are The BIOS Now: Building A Hypervisor In Rust With KVM
- How to write Rust in the kernel: part 3
- Vivo BlueOS Kernel open-sourced
- Vivo is a Chinese company selling smartphones and smartwatches
- BlueOS appears to be their smartwatch OS, now its kernel is open source (Apache license)
- POSIX-compatible, targets ARM and RISCV, supports Rust's
std
library - Chinese homepage: https://blueos.vivo.com/kernel
- This Month in Redox - July 2025
- Writing a Rust GPU kernel driver: a brief introduction on how GPU drivers work
bitpiece
: a crate for defining and manipulating bitfields with procedural macros- A Clone of the Linux Kernel's Red-Black Tree in Rust
- Rex: Closing the language-verifier gap with safe and usable kernel extensions
- Dynamic Indirect Syscalls via JOP or ROP in Rust
- Practicing Linux Syscalls with Rust and x86_64 Assembly
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.
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 fix:
Thanks to @OmegaMetor for their contribution!
uart_16550
Maintained by @phil-opp
The uart_16550
crate provides basic support for serial port I/O for 16550-compatible UARTs. We merged the following change this month:
Thanks to @rsahwe for their contribution!
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:
- doc: fix broken links
- uefi: Add HiiKeywordHandler and HiiConfigAccess protocol
- protocols: Add ACPI Table protocol
- feat:
uefi-raw
IoMmu Protocol Impl
Thanks to @seijikun, @Jonathas-Conceicao and @PelleKrab 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:
Thanks to @mkroening for their contributions!
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:
- Fix:
target-c-int-width
field now expects an integer - Add
[[bin]]
section withtest=false
to Cargo.toml (thanks to @tigeryant) - translate edition2@post-11 to Chinese (thanks to @ttttyy)
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.