Skip to content

Should miri be built by default with --enable-extended for realease tarballs? #139569

Closed
@dilyanpalauzov

Description

@dilyanpalauzov

config.toml.sample contains

#tools = [
#    … #    "miri", "cargo-miri" # for dev/nightly channels
#]

This means that when building from a realease tarball with ./configure --enable-optimize-llvm --enable-extended --llvm-root=/usr/local --enable-profiler --enable-llvm-link-shared --enable-sanitizers --enable-local-rust --disable-docs --target=x86_64-unknown-linux-gnu --enable-vendor using https://static.rust-lang.org/dist/rustc-1.86.0-src.tar.xz miri will not be compiled or installed.

This was discussed in #129171 and the hyperlinks versioned there.

I do not understand, should miri and cargo-miri be built by default, from the realease tarball, or be built only by default for dev/nightly channels?

$ miri --version
rustc 1.86.0-nightly (05f9846f8 2025-03-31) (built from a source tarball)

$ cargo miri --version
miri 0.1.0

My understanding from #100134 is that miri should not be built by default when release tarball is used, but it is built by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions