-
Notifications
You must be signed in to change notification settings - Fork 924
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
Android nightly builds are failing #2196
Comments
@kchibisov android-ndk-rs moved to the new There's an open issue for this: rust-mobile/ndk#211 (comment). I think it's better to ping @MarijnS95 as he has a WIP branch with ANativeActivity support: rust-mobile/ndk@master...MarijnS95:anativeactivity-instance. P.S: We can set |
Fixes rust-windowing#2196 until a better solution using `ndk-context` is possible
We can fix this in the interim with just allowing the warnings, see #2197 |
I thought about this just as the release got pushed out, hence intentionally didn't carry over the deprecation warning to the It's a bit of a tricky issue since I really wanted all the public That however means Footnotes
|
I don't think shoving it into ndk-context is a good idea, as those are coupled to ndk-glue while ndk-context is not. |
They can always be |
Not quite sure why winit can't just depend on ndk-glue? when ndk-glue updates winit updates. everyone else uses ndk-context so there isn't an issue. |
@kchibisov Sorry about the deprecation warning and breaking the builds. For now it would be sufficient to use @MarijnS95 took a quick look at your WIP branch. the changes seem sensible to me without requiring changes to ndk-context. |
Fixes #2196 until a better solution using `ndk-context` is possible
No worries from my part here, it is to be expected when using |
Not saying that it can't, that is in fact what the WIP branch still does. I however think that a compatibility table in the README and a crash at runtime if versions mismatch is not "out of the box" enough. This should either be a compiler error (what that WIP branch is all about, because types from different
Fwiw I find it quite normal - expected even - to disallow warnings in CI. Most Rust projects managed to stay rather clean and don't have a massive "issues to address" mountain to climb because of that 👍 |
A compile time error would be nice yes. At the moment we have a deprecation warning only winit should silence, think that's quite neat. Even better would be using ndk-context/jni to retrieve the asset manager and remove |
That'd be neat, yeah :) Though don't be fooled here, |
I know winit uses those other globals, but they have a much lower abuse potential. (And they're actually there for winit to use)
Yes, sounds good. |
Not afraid about "abuse potential", just an unsuspecting user running and initializing |
Well the skilled coder will quickly determine the cause and move on. The unskilled coder can hone their skills or give up and look for a different career |
@enfipy since you've bumped ndk recently could you take a look into CI failures winit is getting on android due to some deprecation warnings?
The text was updated successfully, but these errors were encountered: