Add freebsd support for sysinfo (#14553)
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.
This commit is contained in:
parent
6f7c554daa
commit
0e86675177
@ -32,8 +32,8 @@ sysinfo = { version = "0.31.0", optional = true, default-features = false, featu
|
|||||||
"system",
|
"system",
|
||||||
] }
|
] }
|
||||||
|
|
||||||
# Only include when on linux/windows/android
|
# Only include when on linux/windows/android/freebsd
|
||||||
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android"))'.dependencies]
|
[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 = [
|
sysinfo = { version = "0.31.0", optional = true, default-features = false, features = [
|
||||||
"system",
|
"system",
|
||||||
] }
|
] }
|
||||||
|
Loading…
Reference in New Issue
Block a user