Rust Tools for Windows Drivers Gain Momentum at Microsoft

04 Sep 2025

Microsoft is gradually advancing the tools available to developers aiming to create Windows drivers using the programming language Rust. However, significant challenges remain before Rust can be conventionally used in production environments. Developers now have access to enhanced tools and sample frameworks, yet they continue to face constraints that make the widespread adoption of Rust for production still out of reach.

Progress in Rust Development for Windows Drivers

Tools built around Rust, such as the cargo-wdk extension, are evolving as vital assets for developers. This extension offers a streamlined way to develop Windows drivers, allowing the creation of KMDF driver templates with commands like "cargo wdk new --kmdf." Despite the advancements, the broader aim of developing user-mode or kernel-mode drivers with improved safety due to Rust's inherent features still faces setbacks.

Senior software engineer Nate Deisinger notes that while there are existing Rust crates for creating Windows 11 drivers using the Windows Driver Model (WDM), Kernel-Mode Driver Framework (KMDF), or User-Mode Driver Framework (UMDF), they still require unsafe code blocks for interaction with the Windows operating system. This compromises some of Rust's safety benefits, although it maintains potential safety advantages for business logic. The Windows Driver Frameworks team is focusing on developing safer abstractions in Rust to minimize the unreliable code sections.

Obstacles to Production Use

Microsoft has acknowledged that the project is still in its early days, emphasizing that writing production-ready drivers in Rust is currently not advisable. Even though the software giant allows developers to experiment with the code, the typical procedures for getting production drivers signed by Microsoft still apply. This includes analysis by tools like GitHub's CodeQL, which has recently started supporting Rust in its public preview. However, the versions approved for compatibility with the Windows Hardware Compatibility Program (WHCP) remain limited, delaying the mainstream production capability of Rust.

Efforts are underway to optimize processes such as adding ARM64 support, automatic dependency installation, and driver deployment directly to test machines, which indicates future readiness for broader adoption. Additionally, Microsoft is planning to release more information about the process of submitting Rust drivers to WHCP in the upcoming months, making incremental yet crucial strides toward eventual production usage.

The Road Ahead for Rust in Windows Kernel

The aspiration to incorporate Rust more extensively into the Windows ecosystem stems from Microsoft Research’s interest in using it to address memory-safety issues. This interest was first highlighted in 2019. Furthermore, in 2022, Azure CTO Mark Russinovich endorsed Rust over C/C++ for new projects due to its safety features. In the intervening years, substantial groundwork has facilitated closer integration of Rust into Windows, particularly with components of Rust already embedded into the Windows 11 24H2. While the emergence of these tools signals significant progress, realization in terms of comprehensive production-ready Rust drivers is a prospect still on the horizon.

Top charts for Desktop Windows

uTorrent

uTorrent

Latest update uTorrent download for free for Windows PC or Android mobile

5
1032 reviews
7508545
downloads
Zona

Zona

Latest update Zona download for free for Windows PC or Android mobile

4
614 reviews
1735174
downloads
WinRAR

WinRAR

Streamline file management with fast compression, secure your documents, and save space.

5
735 reviews
746688
downloads
Minecraft

Minecraft

Shape environments, explore vast worlds, and survive against monsters with endless creativity.

5
750 reviews
495102
downloads

News and reviews for Desktop Windows

Visio 2021 Professional Now $9.97 Until February 8

Microsoft offers Visio 2021 Professional for $9.97, down from $249, with added templates, until February 8.

Read more

Code Vein Offers Stylish Combat, Discounted Editions

Code Vein captivates with anime-style combat and offers discounted editions. Fast-paced action meets fun builds in this cult classic.

Read more

Microsoft Phases Out RC4 in Kerberos for Windows Security

Microsoft to eliminate RC4 in Kerberos by July 2026, enhancing Windows security.

Read more

Highguard Faces Criticism but Shows Potential for Growth

Highguard, launched with controversy, holds potential despite poor reviews. Offering genre innovation, it aims to evolve against negative feedback.

Read more

PS2Recomp Boosts Native PS2 Games with Recompilation

PS2Recomp, a new tool, promises enhanced native PS2 game ports, sparking interest among developers for PC platforms.

Read more

NVIDIA Introduces RTX Remix Logic for Classic Game Mods

NVIDIA's RTX Remix Logic, launched on 2026-01-27, enables dynamic modding of classic PC games with a no-code node-based interface.

Read more

Windows 11 Update KB5074109 Affects Legacy Modems

The Windows 11 update KB5074109 disrupts modems by removing several legacy drivers, causing connectivity issues for select users.

Read more

Anytype Replaces Notion, Obsidian, and Todoist for Unified Workflow

Anytype consolidates Notion, Obsidian, and Todoist functions, reducing context-switching and improving workflow efficiency.

Read more

ReBlade: Cyberpunk Roguelike Announced by ChillyRoom

ReBlade from ChillyRoom and Spiral Up Games announced for PC: cyberpunk roguelike offers high-speed action in a dystopian setting.

Read more

Artorias Battles Elden Ring Bosses in New Video Showcase

Artorias from Dark Souls faces Elden Ring bosses, demonstrating impressive skills in Fights' YouTube video.

Read more