Skip to content

Commit

Permalink
Add freebsd support for sysinfo (#14553)
Browse files Browse the repository at this point in the history
I'm not sure if bevy works on FreeBSD or not. But in case it does,
better allow `sysinfo` to be used as well if users want.
  • Loading branch information
GuillaumeGomez authored Jul 31, 2024
1 parent 6f7c554 commit 0e86675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_diagnostic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ sysinfo = { version = "0.31.0", optional = true, default-features = false, featu
"system",
] }

# Only include when on linux/windows/android
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android"))'.dependencies]
# Only include when on linux/windows/android/freebsd
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android", target_os = "freebsd"))'.dependencies]
sysinfo = { version = "0.31.0", optional = true, default-features = false, features = [
"system",
] }
Expand Down

0 comments on commit 0e86675

Please sign in to comment.