Skip to content

build-std broken as of nightly 74c482104 (2023-05-04) #1220

@krstn42

Description

@krstn42

rust-lang/rust#108865 added a "sysroot" dummy crate, which seems to have broken build-std, cf. rust-lang/rust#111225.

% cargo build
error: Package `test v0.0.0 ([…]/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test)` does not have the feature `compiler-builtins-mem`

Mainly opening this issue in case anyone else happens to stumble upon it and thinks they are doing something wrong :-) I'm not completely sure if any changes may be necessary here or if this will be fixed in Rust/Cargo.

Switching to an older nightly version seems to be the best workaround for now.

rustup install nightly-2023-05-03
rustup override set nightly-2023-05-03

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions