Skip to content

Commit 18a2a64

Browse files
committed
Make bevy_audio optional for android_shared_stdcxx
It's a bit unexpected to require `bevy_audio` even when it's not used. I'd treat this feature similar to `std`. It just enables `android_shared_stdcxx` on `cpal` inside `bevy_audio`.
1 parent bb23d0d commit 18a2a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_internal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ bevy_gltf = ["dep:bevy_gltf", "bevy_scene", "bevy_pbr"]
262262
dynamic_linking = ["bevy_diagnostic/dynamic_linking"]
263263

264264
# Enable using a shared stdlib for cxx on Android.
265-
android_shared_stdcxx = ["bevy_audio/android_shared_stdcxx"]
265+
android_shared_stdcxx = ["bevy_audio?/android_shared_stdcxx"]
266266

267267
# Enable AccessKit on Unix backends (currently only works with experimental
268268
# screen readers and forks.)

0 commit comments

Comments
 (0)