Android: Bump ndk/ndk-glue version#2047
Conversation
| However, under certain setups this function is only available to be linked | ||
| through the newer ColorSync framework. So, winit provides the | ||
| `WINIT_LINK_COLORSYNC` environment variable which can be set to `1` or `true` | ||
| `WINIT_LINK_COLORSYNC` environment variable which can be set to `1` or `true` |
There was a problem hiding this comment.
This isn't strictly speaking related to the ndk in any way, but trailing whitespace also annoys me...
Right I missed that part. I'm experimenting with it a bit and not sure yet - adding features (e.g #[cfg_attr(target_os = "android", ndk_glue::main(backtrace = "on", ndk_glue = "winit::platform::android::ndk_glue"))]
fn main() {
...
}Overall I would probably keep it out for now. Maybe somehow has a suggestion how properly export it. The above attempts doesn't look so user friendly. |
cargo fmthas been run on this branchcargo docbuilds successfullyCHANGELOG.mdif knowledge of this change could be valuable to usersTested with a small sample application that it still runs with the updated ndk version.
This is breaking as users need to update their version of
ndk-glueas well as it internally has a static global variable which should be unique across crates!#1995