-
Notifications
You must be signed in to change notification settings - Fork 253
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
Upgrade Ruma #433
Upgrade Ruma #433
Conversation
Hope it's okay to ignore |
CI fails with
which makes absolutely no sense because I have stared at the file and looked at all the (explicit) usage of |
Related to that, what's the reason for removing |
Well, I imagine lots of use cases will actually be better off using |
Alright, I guess we'll leave it as is. Not sure what the warp issue is about, doesn't seem to make much sense to me either. Perhaps @johannescpk might help out? |
This has nothing to do with warp, commenting out parts of |
I fixed it. My async_auto_traits crate helped narrow it down a little bit, though actually adding those attributes to the codebase such that they can stay in seems very hard since it also resulted in different errors that I didn't fully understand. The underlying issue seems to be with closures only being lifetime-generic in special circumstances, but not by default. I think ultimately There really needs to better diagnostics for this kind of thing. It felt like debugging C++ post-monomorphization errors 👀 |
@poljar CI fixed :) |
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.
That's quite the PR, thanks.
I finished the dynamically-sized identifiers work. It was a lot. Now the upgrade turns out to also be a lot. I think some of the symbol soup could be gotten rid of again if
Arc
was used more consistently. Currently lots ofArc<FooId>
<=>Box<FooId>
conversions are being done.To be clear, this is a draft PR because I just uploaded what I got so far, there is probably no point in reviewing yet because there's still more to do. (but I would expect that I'm over halfway done...)