This Month in Rust OSDev: June 2026
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.
Please submit interesting posts and projects for the next issue on Zulip or via a PR on GitHub.
Disclaimer: Automated scripts and AI assistance were used for collecting and categorizing links. Everything was proofread and checked manually, with many manual tweaks.Announcements, News, and Blog Posts
Here we collect news, blog posts, etc. related to OS development in Rust.
- Announcing Asterinas 0.18.0
- This Month in Redox - May 2026
- The latest Redox update covers an EEVDF scheduler, page flipping and plane support in the Intel graphics driver, a COSMIC monitor and XFCE port, and large I/O and RedoxFS performance improvements.
- Zinnia
- A Unix-like kernel written almost entirely in Rust that boots on real x86_64 hardware and can run Wayland/X11 desktop sessions (Weston, XFCE). Drivers are loaded as modular Rust ELF libraries at boot.
- LearnixOS
- A book that teaches OS development from scratch in Rust, covering memory allocators, paging, filesystems, and kernel logic.
- Hardware Is Asynchronous. Most of Our Operating Systems Still Aren't.
- An article arguing that operating systems should treat asynchrony as the default rather than layering it on top of blocking abstractions, drawing on work from CharlotteOS, an experimental modern OS written in Rust.
- Building an AsyncIO executor for the 3DS (pt 1!)
- Building a from-scratch async I/O executor for the Nintendo 3DS.
Infrastructure and Tooling
In this section, we collect recent updates to rustc, cargo, and other tooling that are relevant to Rust OS development.
- Move
std::io::Errorintocore- Makes I/O error handling available in
no_std - Now the rest of
std::iocan be moved tocore/alloctoo, including theReadandWritetraits. See the open PR and the tracking issue for details.
- Makes I/O error handling available in
- Stabilize
int_format_intofeature- Formats integers into fixed-size buffers with no allocation.
- Stabilize
#![feature(box_as_ptr)]- Stabilizes
Box::as_ptrandBox::as_mut_ptr - These methods can be used to create multiple pointers to the same
Boxthat don't invalidate each other.
- Stabilizes
- staticlib: hide internal symbols
- A new
-Zstaticlib-hide-internal-symbolsflag hides non-exported Rust symbols in static libraries, shrinking binaries by 5–12% in non-LTO builds.
- A new
asm!support for the Xtensa architecture- Inline assembly for Xtensa (ESP32 and related chips) lands in-tree after years in the esp-rs fork.
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:
- Feat: IoMmu protocol
- uefi: Add PciRootBridgeIo memory and I/O space access
- uefi: Add PciRootBridgeIo attribute manipulation
- uefi-raw: Add PciRootBridgeIoProtocolAttributes
- uefi: Add integration with
timecrate - uefi: Add integration with
jiffcrate - uefi: remove deprecated APIs
- uefi-raw: enhance Boolean type and make it more type safe
- uefi-raw: various spec fixes
- uefi: Fix
boot::exitsignature - uefi: reject undersized device path nodes
- uefi: various smaller memory map related fixes and improvements
- uefi-raw: format negative time zones correctly
- release: uefi-raw-0.15.0, uefi-0.38.0
Thanks to @JarlEvanson, @mysteriouslyseeing, and @PelleKrab for their contributions!
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:
- Rewrite: Add elf library for elf_sections.rs
- various safety and correctness improvements
- Various improvements and fixes
- modernize misc stuff
- elf: remove From impl
- chore: prepare new workspace releases
Thanks to @an-owl 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. The following changes landed in early July, but we want to mention them already because they affect users building against recent Rust nightlies:
- Recent Rust nightlies renamed the
x86-softfloattarget ABI tosoftfloat. This update adjusts the bootloader's custom targets accordingly, on both the latest release and thev0.9branch. - uefi: bump from 0.20 to 0.38
Thanks to @phip1611 for their contribution!
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 changes this month:
uart_16550
Maintained by @phip1611
Simple yet highly configurable low-level driver for 16550 UART devices, typically known and used as serial ports or COM ports.
We merged the following change this month:
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.
mkroening/elf-symbols
(Section written by @mkroening)
When developing an OS, you often need some information about the loaded kernel image:
- Where has the loader loaded the kernel to?
- How large is the loaded kernel?
- Where do the text segment and the data segment end?
- How do I get the kernel TLS image?
These questions can be answered by building non-relocatable images, by writing custom linker scripts, or by having a custom loader that provides this information somehow.
But there is another way! In fact, the main ELF linkers that I am aware of (BFD, gold, LLD, mold, and Wild) all have built-in ELF symbols that answer these questions when not using custom linker scripts. Unfortunately, many are poorly documented, so I created the elf-symbols crate that exposes and documents them. All symbols are tested on the aforementioned linkers. The documentation shows when each linker gained support for the respective symbol.
The following symbols are straightforward:
__executable_start(executable_start()) is the start of the executable._etext(text_end()) is the end of the text segment._edata(data_end()) is the end of the data segment._end(executable_end()) is the end of the executable.
__ehdr_start (elf_header()) is especially interesting.
It allows programs to examine themselves by reading their ELF headers (file headers and program headers).
This can be used to get TLS image information, for example.
Note that these symbols are ELF specific, though, so they cannot be used when linking to something else, such as a PE32+ UEFI executable.
Examples
println!("Executable start: {:p}", elf_symbols::executable_start());
println!("ELF header: {:p}", elf_symbols::elf_header());
println!("Text segment end: {:p}", elf_symbols::text_end());
println!("Data segment end: {:p}", elf_symbols::data_end());
println!("Executable end: {:p}", elf_symbols::executable_end());phil-opp/blog_os
(Section written by @phil-opp)
We merged the following changes to the Writing an OS in Rust blog. These landed in early July, but we mention them here since they keep the code building on the latest Rust nightly:
- Fix target spec: use
softfloatinstead ofx86-softfloat - Fix blog: the
x86-softfloatfeature was renamed tosoftfloat - Update for new Rust error messages
- Update blog to zola 0.22.1
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 to get in touch is our Zulip chat.