Skip to content

Next solver is not enabled on Miri by default #5269

Description

@nazar-pc

nightly-2026-08-22 enabled next solver by default (which I was really looking forward to): rust-lang/rust#160619

However, it didn't have effect on Miri:

#![allow(incomplete_features)]
#![feature(generic_const_args, min_generic_const_args)]
   Compiling playground v0.0.1 (/playground)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.19s
     Running `/playground/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo-miri runner target/miri/x86_64-unknown-linux-gnu/debug/playground`
error: `generic_const_args` requires -Znext-solver=globally to be enabled
 --> src/main.rs:2:12
  |
2 | #![feature(generic_const_args, min_generic_const_args)]
  |            ^^^^^^^^^^^^^^^^^^
  |
  = help: enable all of these features

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-driverArea: the Miri driver (the `miri` binary)C-proposalCategory: a proposal for something we might want to do, or maybe not; details still being worked out

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions