-
Notifications
You must be signed in to change notification settings - Fork 40
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 libraries (in particular winit) #179
Conversation
The CI errors are about some code that I didn't touch. I could try fix that though. Should I? (CC @ArturKovacs) |
If am pretty sure, you are getting these errors because you updated the To see these errors on your own computer, you should enable the networking feature when compiling locally. (Preferably you should enable all features but avif is tricky to set up). You can do this by something like
|
There's a bit of a mismatch with the keys going on now. I'm wondering, why are the first two even combined in the first place? It seems sensible to separate them. If you want both to trigger something you can just bind both to a key but if you want to differentiate between them you can't with the current system. |
Hey, I've fixed the code around |
The solution is to replace it with |
@benediktwerner indeed I tried to use Let's wait for Artúr's then |
The operation could already "fail" before. It's just that |
Yeah replace those with let _ = PRIORITY_REQUEST_ID.compare_exchange(...);
We should probably merge this before #182 |
Thanks @benediktwerner @ArturKovacs for the explanations! Fixed that warning now, let's see if the CI will succeed. BTW, I'm not sure if it's checked in CI, but I also see a lot of (unrelated) clippy warning across the codebase. I wonder if it's something that emulsion as a project would want to do (to fix the warnings and enforce lack thereof in CI) |
Maybe it's the newer version of clippy that finds more inconsistencies tho |
Maybe it's my local clippy that has a newer version and complains. CI just succeeded |
I've created a PR for clippy/CI: #184 |
This follows the way it's been in emulsion, so this is correct for now. This is due to a limitation in winit's current keyboard input API. When you press a key which generates a character, you get both a |
Thanks a lot! |
Fixes #176
Fixes #145