Skip to content

Commit 4886e91

Browse files
Enable more feature on macOS while leaving iOS with a limited set of features
1 parent eb485b1 commit 4886e91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/bevy_diagnostic/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ bevy_log = { path = "../bevy_log", version = "0.12.0-dev" }
2121
bevy_time = { path = "../bevy_time", version = "0.12.0-dev" }
2222
bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
2323

24-
# MacOS
25-
[target.'cfg(all(target_os="macos"))'.dependencies]
24+
# iOS
25+
[target.'cfg(all(target_os="ios"))'.dependencies]
2626
# Some features of sysinfo are not supported by apple. This will disable those features on apple devices
2727
sysinfo = { version = "0.29.0", default-features = false, features = [
2828
"apple-app-store",
2929
] }
3030

31-
# Only include when not bevy_dynamic_plugin and on linux/windows/android
32-
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android"))'.dependencies]
31+
# Only include when not bevy_dynamic_plugin and on linux/windows/android/macOS
32+
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android", target_os = "macos"))'.dependencies]
3333
sysinfo = { version = "0.29.0", default-features = false }

0 commit comments

Comments
 (0)