Skip to content

Can't -Zbuild-std in rustc 1.82.0-nightly (8b3870784 2024-08-07). #128808

Closed
rust-lang/cargo
#14370
@Wyvern

Description

@Wyvern

Update to latest rustc 1.82.0-nightly (8b3870784 2024-08-07), get error when using -Zbuild-std:

error: "/Users/runner/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/Cargo.lock" does not exist, unable to build with the standard library, try:
        rustup component add rust-src --toolchain nightly-aarch64-apple-darwin

but rust-src component already installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    -Zbuild-stdUnstable Cargo option: Compile the standard library yourself.C-bugCategory: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions