-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 fail on the nightly version of rust when compiling obj2 #8155
Comments
Switch to stable channel fix this, while close Z-generic in nightly channel doesn't. Using Mac. |
Wondering if there are any other guys come across this. Looks like not a bevy issue but don't know whom I should raise it to. |
We really only support compiling against the latest stable Rust. We, and our dependencies, cannot accomodate every possible breaking change that is enabled in nightly, and will address these breakages only when they're stabilized. |
@james7132 I'm not contesting your statement about only being able to support stable rust--that is 100% reasonable; the Bevy Getting Started docs, on the other hand, sure make it seem like I'm encouraged to use nightly:
and:
and the most tantalizing:
If nightly really isn't supported, it seems like that should be made clearer in those sections ^^; i.e. "You're welcome to try out nightly as you might see benefits, but there are no guarantees bevy will compile and, depending on the issue, your problems may not be something the bevy team is able to resolve. tl;dr YMMV." Again, the stance is totally reasonable--for my part, it would've been nice to realize that using nightly was a gamble while going through the setup docs instead of having to google for my compiler failure and hoping I wasn't the only one encountering the problem. To me, the docs imply that using nightly should just work ™️. |
Rust nightly should just work. Most of the time, they add some new lints that are not immediately followed in our code, but that's not an issue for using it except when running clippy on Bevy repo. There is the rare case of a bug in Rust nightly, which is the case here: rust-lang/rust#109632 There are no reasons outside of a bug or a breaking change (which is very very rare, I think I can remember 2 cases in 6 years) in Rust that it would stop working. What is meant by "no support" is that we won't investigate on Bevy side, and won't guarantee that the latest nightly always work. It works, except when there's a bug, and that's up to users to discover them. In that case, using nightly from before the bug should allow you to continue using nightly. |
Bevy version
0.10
[Optional] Relevant system information
What you did
What went wrong
The text was updated successfully, but these errors were encountered: