Skip to content

cranelift: librustc_driver-2bb05b679736573e.so: cannot open shared object file #145201

@matthiaskrgr

Description

@matthiaskrgr
  1. install
rustc 1.91.0-nightly (915a766b2 2025-08-10)
binary: rustc
commit-hash: 915a766b2f9fd53a8cd7b1fad003d3f8e488ff4b
commit-date: 2025-08-10
host: x86_64-unknown-linux-gnu
release: 1.91.0-nightly
LLVM version: 21.1.0
  1. try to rustc -Zcodegen-backend=cranelift with that toolchain
    =>
error: couldn't load codegen backend /home/matthias/.rustup/toolchains/master/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_cranelift-1.91.0-nightly.so: librustc_driver-2bb05b679736573e.so: cannot open shared object file: No such file or directory

this worked fine on

rustc 1.91.0-nightly (ca7750494 2025-08-09)

could be related to #144787 cc @Kobzol

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-craneliftThings relevant to the [future] cranelift backendC-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