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

Cannot build bevy on stable channel #5605

Closed
tguichaoua opened this issue Aug 7, 2022 · 3 comments
Closed

Cannot build bevy on stable channel #5605

tguichaoua opened this issue Aug 7, 2022 · 3 comments
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@tguichaoua
Copy link
Contributor

tguichaoua commented Aug 7, 2022

Bevy version

Relevant system information

Rust version : 1.62.1 (a748cf5a3 2022-06-08) (last stable)

What you did

Add bevy 0.8 in dependecies then run cargo check.

What went wrong

Got this message :

error[E0554]: `#![feature]` may not be used on the stable release channel
   --> C:\Users\_\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.60\src\lib.rs:214:32
    |
214 | #![cfg_attr(backtrace, feature(backtrace))]
    |                                ^^^^^^^^^
@tguichaoua tguichaoua added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Aug 7, 2022
@jakobhellermann
Copy link
Contributor

This seems to be a recent issue in anyhow dtolnay/anyhow#250
Anyhow tries to enable the backtrace feature in its build.rs file if the current toolchain supports it, but it seems like that detection has gone wrong somehow.

@jakobhellermann
Copy link
Contributor

We can either wait for a fix in anyhow or maybe depend on a specific anyhow where the problem doesn't occur (if there exists such a version).

@tguichaoua
Copy link
Contributor Author

Fixed with cargo clean, I think it was due to the update of the toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

2 participants