-
-
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
[Merged by Bors] - Fix CI #4675
Conversation
is it due to a regression in rust nightly, or is it something that we actually need to fix in Bevy? |
regression but i'd be kind of surprised if it was fixed since it doesnt seem like a clear cut "bug" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully understand the nitty gritty details, just the high-level concept that the rust compiler has changed something in nightly that affects the way it is able to prove lifetime constraints for various types/traits that caused this regression, and that this PR changes the lifetime annotations in such a way that the rust compiler can verify their validity. Thanks to @BoxyUwU for taking the time on Discord to discuss with and explain to me what this is about.
I also think it is important to unblock CI. We discussed whether the problem should be fixed upstream (yes?) and whether it's likely to happen soon (no?). We discussed alternatives to unblock CI such as make rust nightly builds failing not block CI (would make rust nightly users sad, and miri jobs identifying undefined behaviour would have to also be made non-blocking, which is also bad) and didn't come up with anything that feels better than merging this PR.
As such, I approve this.
bors r+ |
Discussion about this in the rust-lang repo: rust-lang/rust#89352 (comment) |
No description provided.