#7058·pixi

pixi-build-rust does not work with latest Rust version (1.98.1)

Author: maurosilberCreated Sep 18, 2026Updated Sep 18, 2026
Labelsbug

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

Commands I ran and their output:

bash
pixi init

# Create rust project
pixi add 'rust==1.97.1'
pixi run cargo init --name example

# Add pixi package
echo '
[package]
build.backend = { name = "pixi-build-rust", version = "*", channels = ["conda-forge"] }
build-dependencies = { rust = "==1.97.1" }
' >> pixi.toml
pixi workspace preview add pixi-build
pixi add --path . example

pixi run example

With rust 1.97.1, it results in:

Hello, world!

With rust 1.98.1, it fails at the pixi add --path . example step:

Error:   × failed to solve requirements of environment 'default' for platform 'osx-arm64'
  ├─▶   × failed to resolve source package 'example' (at '')
  │   
  ├─▶   × failed to solve the build environment for package 'example'
  │   
  ├─▶   × failed to solve the environment
  │   
  ╰─▶ Cannot solve the request because of: rust_osx-arm64 * cannot be installed because there are no viable options:
      ├─ rust_osx-arm64 1.97.1 would require
      │  └─ rust 1.97.1.*, for which no candidates were found.
[..more rust versions..]

The generated pixi.toml file that reproduces my issue:

toml
[workspace]
channels = ["conda-forge"]
platforms = ["osx-arm64"]
preview = ["pixi-build"]

[tasks]

[dependencies]
rust = "==1.98.1"
example = { path = "" }

[package]
build.backend = { name = "pixi-build-rust", version = "*", channels = ["conda-forge"] }
build-dependencies = { rust = "==1.98.1" }

pixi info output:

System
------------
       Pixi version: 0.81.0
        TLS backend: rustls
           Platform: osx-arm64
   Virtual packages: __unix=0=0
                   : __osx=27.0=0
                   : __archspec=1=m2

Issue description

No response

Expected behavior

Hello, world!