example-runner-wgpu: bump android_logger to unbreak Android logging.

This commit is contained in:
Eduard-Mihai Burtescu 2023-04-15 09:48:49 +03:00 committed by Eduard-Mihai Burtescu
parent 3e2df025e0
commit c4c736c127
3 changed files with 6 additions and 6 deletions

8
Cargo.lock generated
View File

@ -79,15 +79,15 @@ checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
[[package]]
name = "android_log-sys"
version = "0.2.0"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85965b6739a430150bdd138e2374a98af0c3ee0d030b3bb7fc3bddff58d0102e"
checksum = "27f0fc03f560e1aebde41c2398b691cb98b5ea5996a6184a7a67bbbb77448969"
[[package]]
name = "android_logger"
version = "0.11.3"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8619b80c242aa7bd638b5c7ddd952addeecb71f69c75e33f1d47b2804f8f883a"
checksum = "3fa490e751f3878eb9accb9f18988eca52c2337ce000a8bf31ef50d4c723ca9e"
dependencies = [
"android_log-sys",
"env_logger",

View File

@ -32,7 +32,7 @@ env_logger = "0.10.0"
spirv-builder = { workspace = true, features = ["watch"] }
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.11.0"
android_logger = "0.13.0"
# NOTE(eddyb) `winit` feature `android-native-activity` is always enabled above,
# to avoid specifying the dependency twice, but only applies to android builds.

View File

@ -378,7 +378,7 @@ pub fn start(
if #[cfg(target_os = "android")] {
android_logger::init_once(
android_logger::Config::default()
.with_min_level("info".parse().unwrap()),
.with_max_level("info".parse().unwrap()),
);
use winit::platform::android::EventLoopBuilderExtAndroid;