mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Android: Bump ndk/ndk-glue version (#2047)
This commit is contained in:
parent
ed698f2462
commit
5f4df54895
|
@ -18,6 +18,7 @@
|
||||||
- On X11, emit missing `WindowEvent::ScaleFactorChanged` when the only monitor gets reconnected.
|
- On X11, emit missing `WindowEvent::ScaleFactorChanged` when the only monitor gets reconnected.
|
||||||
- On X11, if RANDR based scale factor is higher than 20 reset it to 1
|
- On X11, if RANDR based scale factor is higher than 20 reset it to 1
|
||||||
- On Wayland, add an enabled-by-default feature called `wayland-dlopen` so users can opt out of using `dlopen` to load system libraries.
|
- On Wayland, add an enabled-by-default feature called `wayland-dlopen` so users can opt out of using `dlopen` to load system libraries.
|
||||||
|
- **Breaking:** On Android, bump `ndk` and `ndk-glue` to 0.4.
|
||||||
|
|
||||||
# 0.25.0 (2021-05-15)
|
# 0.25.0 (2021-05-15)
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,9 @@ image = "0.23.12"
|
||||||
simple_logger = "1.9"
|
simple_logger = "1.9"
|
||||||
|
|
||||||
[target.'cfg(target_os = "android")'.dependencies]
|
[target.'cfg(target_os = "android")'.dependencies]
|
||||||
ndk = "0.3"
|
ndk = "0.4"
|
||||||
ndk-sys = "0.2.0"
|
ndk-sys = "0.2.0"
|
||||||
ndk-glue = "0.3"
|
ndk-glue = "0.4"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
||||||
objc = "0.2.7"
|
objc = "0.2.7"
|
||||||
|
|
|
@ -100,6 +100,7 @@ The `ndk_glue` version needs to match the version used by `winit`. Otherwise, th
|
||||||
| :---: | :------------------: |
|
| :---: | :------------------: |
|
||||||
| 0.24 | `ndk_glue = "0.2.0"` |
|
| 0.24 | `ndk_glue = "0.2.0"` |
|
||||||
| 0.25 | `ndk_glue = "0.3.0"` |
|
| 0.25 | `ndk_glue = "0.3.0"` |
|
||||||
|
| 0.26 | `ndk_glue = "0.4.0"` |
|
||||||
|
|
||||||
Running on an Android device needs a dynamic system library, add this to Cargo.toml:
|
Running on an Android device needs a dynamic system library, add this to Cargo.toml:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue