Skip to content

rust 1.95 pre-release windows-gnullvm: rust-size fails with missing libLLVM-22-rust-1.95.0-stable.dll when called via rustup proxy #155268

@pbl-pw

Description

@pbl-pw

Problem Description
After upgrading to Rust 1.95.0 pre-release and using the x86_64-pc-windows-gnullvm toolchain, running rust-size (from the llvm-tools-preview component) fails with a system error:

The code execution cannot proceed because libLLVM-22-rust-1.95.0-stable.dll was not found.

Details
The DLL does exist in the toolchain's bin directory:
~.rustup\toolchains\stable-x86_64-pc-windows-gnullvm\bin\libLLVM-22-rust-1.95.0-stable.dll.
Running .\rust-size.exe directly inside the toolchain bin folder works.
Running rust-size from any other directory (via the rustup proxy in ~.cargo\bin) fails.

Environment Information
Rust Version: 1.95.0 (stable)

Toolchain Host: x86_64-pc-windows-gnullvm

OS: Windows 10

Rustup Version: 1.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windows-gnullvmTarget: *-windows-gnullvmP-mediumMedium priorityT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions