Skip to content

bootstrap uses downloaded rustc despite lockfile changes #142338

Closed
@RalfJung

Description

@RalfJung

I have run cargo update -p rustc_apfloat to link a newer apfloat into Miri. download-rustc is set to "if-unchanged". However, it seems bootstrap doesn't consider this to "change" rustc: ./x test miri still uses the downloaded rustc, leading to test failures since I didn't get the newer apfloat I was hoping for.

Does bootstrap somehow have the lockfile on the list of files it can ignore for download-rustc? That would not make sense, would it?

Cc @onur-ozkan

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-download-rustcArea: The `rust.download-rustc` build option.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