Skip to content

Cargo always updates the registry index with -Zbuild-std #8962

Closed
@alexcrichton

Description

@alexcrichton

It looks like currently Cargo will always update the registry index when using -Zbuild-std:

$ cargo new foo
$ cd foo
$ cargo +nightly build -Zbuild-std --target ...
    Updating crates.io index
...

Bisection points to this being a regression from #8834, I'm currently poking around to see if I can find something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions