|
| 1 | ++++ |
| 2 | +title = "This Month in Rust OSDev: May 2026" |
| 3 | +date = 2026-06-02 |
| 4 | + |
| 5 | +[extra] |
| 6 | +month = "May 2026" |
| 7 | +editors = ["phil-opp"] |
| 8 | ++++ |
| 9 | + |
| 10 | +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. |
| 11 | + |
| 12 | +<!-- more --> |
| 13 | + |
| 14 | +This series is openly developed [on GitHub](https://github.com/rust-osdev/homepage/). 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](https://github.com/rust-osdev/homepage/issues/new) or using our <a href="#comment-form">_comment form_</a> at the bottom of this page. |
| 15 | + |
| 16 | +Please submit interesting posts and projects for the next issue [on Zulip](https://rust-osdev.zulipchat.com/#narrow/channel/435142-newsletter/topic/Content.20suggestions/with/580172810) or via a PR [on GitHub](https://github.com/rust-osdev/homepage/). |
| 17 | + |
| 18 | +<span class="gray"> |
| 19 | +Disclaimer: Automated scripts and AI assistance were used for collecting and categorizing links. |
| 20 | +Everything was proofread and checked manually, with many manual tweaks. |
| 21 | +</span> |
| 22 | + |
| 23 | + |
| 24 | +<!-- |
| 25 | + This is a draft for the upcoming "This Month in Rust OSDev (May 2026)" post. |
| 26 | + Feel free to create pull requests against the `next` branch to add your |
| 27 | + content here. |
| 28 | + Please take a look at the past posts on https://rust-osdev.com/ to see the |
| 29 | + general structure of these posts. |
| 30 | +--> |
| 31 | + |
| 32 | +## Announcements, News, and Blog Posts |
| 33 | + |
| 34 | +Here we collect news, blog posts, etc. related to OS development in Rust. |
| 35 | + |
| 36 | +<!-- |
| 37 | +Please follow this template: |
| 38 | +
|
| 39 | +- [Title](https://example.com) |
| 40 | + - (optional) Some additional context |
| 41 | +--> |
| 42 | + |
| 43 | +- [Rust for Linux Live with Alice Ryhl and Greg Kroah-Hartman](https://corrode.dev/podcast/s06e04-rust4linux/) |
| 44 | + - A live Rust Week recording about Rust in the Linux kernel, C/Rust interoperability, kernel driver work, and the day-to-day realities of writing kernel code in Rust. |
| 45 | +- [Finding the Time Part 2 - Rust Async and the Arm Generic Timer](https://thejpster.org.uk/blog/blog-2026-05-17/) |
| 46 | + - Explores implementing async timers for Armv8-R systems using the Arm Generic Timer, interrupts, and Embassy's `embassy-time` driver model. |
| 47 | +- [Building an AsyncIO executor for the 3DS](https://blog.cat-girl.gay/3ds-async-part-one/) |
| 48 | + - Starts a series on cooperative multitasking for Nintendo 3DS homebrew by building a small Rust executor and connecting async wakeups to platform scheduling constraints. |
| 49 | +- [Rust x GBA: Setup and Pixels](https://jonahnestrick.com/blog/rust-gba-tutorial-1/) |
| 50 | + - Walks through setting up a nightly Rust project for Game Boy Advance ROM development, including `arm-none-eabi` tooling, Cargo configuration, `core`-only code, and pixel output. |
| 51 | +- [uFerris: A Versatile Learner Board for Rust Embedded Beginners](https://www.theembeddedrustacean.com/uferris) |
| 52 | + - A new open source learner board and board support crate for embedded Rust exercises across Seeed XIAO-compatible MCUs. |
| 53 | + |
| 54 | +## Infrastructure and Tooling |
| 55 | + |
| 56 | +In this section, we collect recent updates to `rustc`, `cargo`, and other tooling that are relevant to Rust OS development. |
| 57 | + |
| 58 | +<!-- |
| 59 | + Please use the following template: |
| 60 | +
|
| 61 | +- [Title](https://example.com) |
| 62 | + - (optional) Some additional context |
| 63 | +--> |
| 64 | + |
| 65 | +- [Rust 1.96.0](https://blog.rust-lang.org/2026/05/28/Rust-1.96.0/) |
| 66 | + - Stabilizes new `core::range` types and `core::assert_matches!`/`core::debug_assert_matches!`. |
| 67 | + - WebAssembly targets now fail on undefined linker symbols by default instead of implicitly treating them as `"env"` imports. |
| 68 | + - Includes Cargo fixes for [CVE-2026-5223](https://blog.rust-lang.org/2026/05/25/cve-2026-5223/) and CVE-2026-5222 for users of third-party registries. |
| 69 | +- More `std::io` pieces move toward `core::io` |
| 70 | + - [`Cursor`](https://github.com/rust-lang/rust/pull/156428) and [`std::io::util`](https://github.com/rust-lang/rust/pull/156431) were moved into `core::io`, continuing the effort to make I/O building blocks available in `no_std` contexts. |
| 71 | +- [Proposal to stabilize the `Allocator` trait](https://github.com/rust-lang/rust/pull/156882) |
| 72 | + - 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. |
| 73 | +- [Cargo `clean -p` now respects `build.target`](https://github.com/rust-lang/cargo/pull/16988) |
| 74 | + - Makes `cargo clean -p` behave more predictably for projects that set a default cross-compilation target in Cargo configuration. |
| 75 | +- [Promote five Thumb-mode bare-metal Arm targets to Tier 2](https://github.com/rust-lang/compiler-team/issues/985) |
| 76 | + - A compiler-team proposal entered final comment period to promote additional `thumb*-none-eabi*` bare-metal targets. |
| 77 | +- [Add `-Zdead-fn-elimination`](https://github.com/rust-lang/compiler-team/issues/976) |
| 78 | + - 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. |
| 79 | + |
| 80 | +## `rust-osdev` Projects |
| 81 | + |
| 82 | +In this section, we give an overview of notable changes to the projects hosted under the [`rust-osdev`](https://github.com/rust-osdev/about) organization. |
| 83 | + |
| 84 | +<!-- |
| 85 | + Please use the following template: |
| 86 | +
|
| 87 | + ### [`repo_name`](https://github.com/rust-osdev/repo_name) |
| 88 | + <span class="maintainers">Maintained by [@maintainer_1](https://github.com/maintainer_1)</span> |
| 89 | +
|
| 90 | + The `repo_name` crate ...<<short introduction>>... |
| 91 | +
|
| 92 | + We merged the following changes this month: |
| 93 | + <<changelog, either in list or text form>> |
| 94 | +--> |
| 95 | + |
| 96 | +### [`acpi`](https://github.com/rust-osdev/acpi) |
| 97 | +<span class="maintainers">Maintained by [@IsaacWoods](https://github.com/IsaacWoods)</span> |
| 98 | + |
| 99 | +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. |
| 100 | + |
| 101 | +We merged the following changes this month: |
| 102 | + |
| 103 | +- [Use `contribute_arg` to handle `NoCurrentOp` at the top-level](https://github.com/rust-osdev/acpi/pull/293) |
| 104 | +- [Logical not only requires one arg](https://github.com/rust-osdev/acpi/pull/295) |
| 105 | +- [Move method context to `do_execute_method`](https://github.com/rust-osdev/acpi/pull/296) |
| 106 | +- [Get referenced-package size - unwrap reference in `do_size_of`](https://github.com/rust-osdev/acpi/pull/288) |
| 107 | +- [Allow BufferField -> Integer conversion](https://github.com/rust-osdev/acpi/pull/286) |
| 108 | +- [Compare strings and buffers like uACPI](https://github.com/rust-osdev/acpi/pull/303) |
| 109 | +- [Update uACPI example tests since some now work](https://github.com/rust-osdev/acpi/pull/299) |
| 110 | +- [Directly test a stream of opcodes](https://github.com/rust-osdev/acpi/pull/298) |
| 111 | +- [Fix regression in implicit casting from integer -> string](https://github.com/rust-osdev/acpi/pull/304) |
| 112 | + |
| 113 | +Thanks to [@martin-hughes](https://github.com/martin-hughes) for their contributions! |
| 114 | + |
| 115 | + |
| 116 | +### [`uefi-rs`](https://github.com/rust-osdev/uefi-rs) |
| 117 | +<span class="maintainers">Maintained by [@GabrielMajeri](https://github.com/GabrielMajeri), [@nicholasbishop](https://github.com/nicholasbishop), and [@phip1611](https://github.com/phip1611)</span> |
| 118 | + |
| 119 | +`uefi` makes it easy to develop Rust software that leverages safe, convenient, |
| 120 | +and performant abstractions for UEFI functionality. |
| 121 | + |
| 122 | +We merged the following PRs this month: |
| 123 | + |
| 124 | +- [Fix connect_controller to take a list for `driver_image`.](https://github.com/rust-osdev/uefi-rs/pull/1939) |
| 125 | +- [AtaPassThru: Make AtaStatusBlock and AtaCommandBlock derive Clone](https://github.com/rust-osdev/uefi-rs/pull/1942) |
| 126 | +- [various updates (nothing major or critical) + bump MSRV from 1.88 to 1.91](https://github.com/rust-osdev/uefi-rs/pull/1953) |
| 127 | +- [uefi: move runtime module to directory](https://github.com/rust-osdev/uefi-rs/pull/1954) |
| 128 | + |
| 129 | +<!-- - [chore(deps): update crate-ci/typos action to v1.46.0](https://github.com/rust-osdev/uefi-rs/pull/1940) --> |
| 130 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1941) --> |
| 131 | +<!-- - [chore(deps): update crate-ci/typos action to v1.46.1](https://github.com/rust-osdev/uefi-rs/pull/1944) --> |
| 132 | +<!-- - [chore(deps): lock file maintenance](https://github.com/rust-osdev/uefi-rs/pull/1946) --> |
| 133 | +<!-- - [chore(deps): update crate-ci/typos action to v1.46.2](https://github.com/rust-osdev/uefi-rs/pull/1948) --> |
| 134 | +<!-- - [ci: fix broken uefi-macros test](https://github.com/rust-osdev/uefi-rs/pull/1952) --> |
| 135 | + |
| 136 | +Thanks to [@seijikun](https://github.com/seijikun) for their contributions! |
| 137 | + |
| 138 | + |
| 139 | +### [`x86_64`](https://github.com/rust-osdev/x86_64) |
| 140 | +<span class="maintainers">Maintained by [@phil-opp](https://github.com/phil-opp), [@josephlr](https://github.com/orgs/rust-osdev/people/josephlr), and [@Freax13](https://github.com/orgs/rust-osdev/people/Freax13)</span> |
| 141 | + |
| 142 | +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. |
| 143 | + |
| 144 | +We merged the following PR this month: |
| 145 | + |
| 146 | +- [implement DoubleEndedIterator for ranges + implement more iterator methods](https://github.com/rust-osdev/x86_64/pull/589) |
| 147 | + |
| 148 | +## Other Projects |
| 149 | + |
| 150 | +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](https://github.com/rust-osdev/homepage/pulls) with the updates of your OS project for the next post. |
| 151 | + |
| 152 | +<!-- |
| 153 | + Please use the following template: |
| 154 | +
|
| 155 | + ### [`owner_name/repo_name`](https://github.com/rust-osdev/owner_name/repo_name) |
| 156 | + <span class="maintainers">(Section written by [@your_github_name](https://github.com/your_github_name))</span> |
| 157 | +
|
| 158 | + ...<<your project updates>>... |
| 159 | +--> |
| 160 | + |
| 161 | +### [`phil-opp/blog_os`](https://github.com/phil-opp/blog_os) |
| 162 | +<span class="maintainers">(Section written by [@phil-opp](https://github.com/phil-opp))</span> |
| 163 | + |
| 164 | +We merged the following changes to the [_Writing an OS in Rust_](https://os.phil-opp.com/) blog this month: |
| 165 | + |
| 166 | +- [fix: lazy_static is not needed, keyboard methods are const, ](https://github.com/phil-opp/blog_os/pull/1477) |
| 167 | +- [[Translation] Translated post 8 and 9 into Russian](https://github.com/phil-opp/blog_os/pull/1480) |
| 168 | +- [Adding Turkish translations of blog posts](https://github.com/phil-opp/blog_os/pull/1481) |
| 169 | +- [Adjust blog for PR #1477](https://github.com/phil-opp/blog_os/pull/1482) |
| 170 | + |
| 171 | +Thanks to [@harsh-98](https://github.com/harsh-98), [@TakiMoysha](https://github.com/TakiMoysha), and [@rhotav](https://github.com/rhotav) for their contributions! |
| 172 | + |
| 173 | + |
| 174 | +<!-- <span class="gray">No projects updates were submitted this month.</span> --> |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | +## Join Us? |
| 179 | + |
| 180 | +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](https://rust-osdev.zulipchat.com). |
0 commit comments