Rust OSDev Operating System Development in Rust

This Month in Rust OSDev: May 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.

Infrastructure and Tooling

In this section, we collect recent updates to rustc, cargo, and other tooling that are relevant to Rust OS development.

  • Rust 1.96.0
    • Stabilizes new core::range types and core::assert_matches!/core::debug_assert_matches!.
    • WebAssembly targets now fail on undefined linker symbols by default instead of implicitly treating them as "env" imports.
    • Includes Cargo fixes for CVE-2026-5223 and CVE-2026-5222 for users of third-party registries.
  • More std::io pieces move toward core::io
    • Cursor and std::io::util were moved into core::io, continuing the effort to make I/O building blocks available in no_std contexts.
  • Proposal to stabilize the Allocator trait
    • A draft PR that proposes stabilizing the Allocator trait together with Global, System, and the *_in constructors (e.g. Box::new_in, Vec::new_in). This would let kernel and no_std code use custom allocators with the standard collections on stable Rust. The design still needs to go through FCP and bake further before it can land.
  • Cargo clean -p now respects build.target
    • Makes cargo clean -p behave more predictably for projects that set a default cross-compilation target in Cargo configuration.
  • Promote five Thumb-mode bare-metal Arm targets to Tier 2
    • A compiler-team proposal entered final comment period to promote additional thumb*-none-eabi* bare-metal targets.
  • Add -Zdead-fn-elimination
    • A compiler-team proposal entered final comment period for a nightly codegen option that skips functions unreachable from exported symbols, which could help size-sensitive bare-metal and freestanding binaries.

rust-osdev Projects

In this section, we give an overview of notable changes to the projects hosted under the rust-osdev organization.

acpi

Maintained by @IsaacWoods

The acpi repository contains crates for parsing the ACPI tables – data structures that the firmware of modern computers uses to relay information about the hardware to the OS.

We merged the following changes this month:

Thanks to @martin-hughes for their contributions!

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:

Thanks to @seijikun 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 PR 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.

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 @harsh-98, @TakiMoysha, and @rhotav 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 to get in touch is our Zulip chat.

Comments