Skip to content

Commit

Permalink
example-runner-wgpu: bump android_logger to unbreak Android logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Apr 17, 2023
1 parent 3e2df02 commit c4c736c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/runners/wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion examples/runners/wgpu/src/graphics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c4c736c

Please sign in to comment.