Upcoming Changes to Rust's NVIDIA GPU Compilation Target: Baseline Raised to SM 7.0 and PTX ISA 7.0

Introduction

Rust developers targeting NVIDIA GPUs using the nvptx64-nvidia-cuda compilation target will soon need to update their environments. In Rust 1.97, scheduled for release on July 9, 2026, the minimum supported PTX ISA version and GPU architecture for this target will be increased. These changes affect both the Rust compiler (rustc) and related host tooling, effectively ending support for older GPUs and CUDA drivers.

Upcoming Changes to Rust's NVIDIA GPU Compilation Target: Baseline Raised to SM 7.0 and PTX ISA 7.0
Source: blog.rust-lang.org

What Is Changing?

The nvptx64-nvidia-cuda target compiles Rust code to PTX (Parallel Thread Execution) format for NVIDIA GPUs. The output is shaped by two parameters:

  • GPU architecture (e.g., sm_70, sm_80) – determines which physical GPUs can execute the PTX.
  • PTX ISA version – determines which CUDA driver versions can load and JIT-compile the PTX.

Starting with Rust 1.97, the new minimum supported versions will be:

  • PTX ISA 7.0 – requires a CUDA 11 driver or newer.
  • SM 7.0 – GPUs with compute capability below 7.0 (e.g., Maxwell, Pascal) are no longer supported.

This means it will no longer be possible to generate PTX artifacts compatible with older GPUs or CUDA drivers predating CUDA 11.

Why Are the Requirements Being Changed?

Addressing Defects and Improving Correctness

Until now, Rust has supported emitting PTX for a wide range of GPU architectures and PTX ISA versions. However, this broad compatibility came at a cost: several defects existed that could cause valid Rust code to trigger compiler crashes or miscompilations. Raising the baseline eliminates the need to support these older configurations, allowing the Rust project to focus on delivering more complete and reliable support for the remaining hardware.

Focusing Development Efforts

Maintaining support for older architectures requires substantial effort—effort that can be better spent on improving correctness and performance for currently supported hardware. The most recent affected GPU architectures date back to 2017 (e.g., Pascal) and are no longer actively supported by NVIDIA. By removing these legacy targets, the Rust team can dedicate resources to enhancing the experience for users of modern GPUs.

Limited Impact on Users

While any removal of support affects users of the deprecated architectures, the Rust team expects the overall impact to be limited. GPU architectures below SM 7.0 are over seven years old by the time of this change, and most developers targeting CUDA are likely using newer hardware and drivers. For those still on older systems, the upgrade path is clear: update to CUDA 11 or newer and use a Volta (SM 7.0) or later GPU.

What This Means for You

When you update to Rust 1.97, the behavior of your builds will depend on your current configuration:

If You Use Older Hardware or Drivers

  • CUDA drivers older than 11 (e.g., CUDA 10) will no longer be able to load PTX generated by Rust 1.97. You will need to upgrade to at least CUDA 11.
  • GPUs with compute capability below 7.0 (e.g., Maxwell, Pascal) will no longer be supported. You will need to migrate to Volta or newer architectures.

If You Use Modern Hardware and Drivers

Assuming you target a CUDA driver compatible with CUDA 11 or newer and use a GPU with compute capability 7.0 or higher:

  • If you do not specify -C target-cpu, the new default will be sm_70. Your build should continue to work, but the generated PTX will no longer be compatible with pre-Volta GPUs.
  • If you currently specify an older -C target-cpu (e.g., sm_60), you have two options:
    • Remove that flag and let it default to sm_70.
    • Update the flag to sm_70 or a newer architecture.
  • If you already specify -C target-cpu=sm_70 or newer, there should be no behavioral changes from this update.

Next Steps and Resources

For detailed instructions on building and configuring the nvptx64-nvidia-cuda target, refer to the official Rust platform support documentation. We recommend reviewing your current build scripts and CI pipelines to ensure they align with the new baseline before upgrading to Rust 1.97.

This change brings Rust's CUDA support in line with modern NVIDIA hardware and driver requirements, improving reliability and paving the way for future enhancements. Plan your migration now to avoid any disruptions.

Tags:

Recommended

Discover More

Congress Investigates Instructure: Canvas Outage and Security Breach Under Federal ScrutinyDeconstructing PCPJack: A Comprehensive Guide to the Credential-Stealing WormTop 6 EV Deals: ENGWE Anniversary, Lectric Mother's Day, Segway Scooter, and More5 Key Insights Into OpenAI’s GPT-5.5-Powered Codex on NVIDIA Infrastructure10 Key Insights from NASA Astronaut Anil Menon Before His First Spaceflight