Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
krstn42 opened this issue May 5, 2023 · 4 comments
Closed

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

krstn42 opened this issue May 5, 2023 · 4 comments

Comments

@krstn42
Copy link

krstn42 commented May 5, 2023

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
@weihanglo
Copy link

This should now be fixed in the latest nightly (2023-05-05).

@kingdevnl
Copy link

kingdevnl commented May 6, 2023

For me it's complaining about
error: Package `test v0.0.0 (/home/jasper/.rustup/toolchains/nightly-2023-05-05-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test)` does not have the feature `backtrace`

@weihanglo
Copy link

Would branch were you in? Could you provide a cargo -vV output here? Thank you.

@kingdevnl
Copy link

Updating to nightly-05-06 worked

@krstn42 krstn42 closed this as completed May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants