Closed inodentry closed 2 weeks ago
0.14.0
Enabled the sysinfo_plugin cargo feature when depending on bevy with no default features.
sysinfo_plugin
In Cargo.toml:
Cargo.toml
[dependencies.bevy] version = "0.14.0" default-features = false features = [ "sysinfo_plugin"]
Compiler error in bevy_diagnostic:
bevy_diagnostic
Checking bevy_diagnostic v0.14.0 error[E0308]: mismatched types --> /home/iyes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.14.0/src/system_information_diagnostics_plugin.rs:147:30 | 147 | tasks.tasks.push(task); | ---- ^^^^ expected `Task<SysinfoRefreshData>`, found `FakeTask` | | | arguments to this method are incorrect | = note: expected struct `Task<SysinfoRefreshData>` found struct `FakeTask`
Enabling the multi_threaded feature allows it to compile.
multi_threaded
Basically, the sysinfo diagnostic is broken in single-threaded builds of bevy.
Duplicate of #13957 I think
Bevy version
0.14.0
What you did
Enabled the
sysinfo_plugin
cargo feature when depending on bevy with no default features.In
Cargo.toml
:What went wrong
Compiler error in
bevy_diagnostic
:Additional Information
Enabling the
multi_threaded
feature allows it to compile.Basically, the sysinfo diagnostic is broken in single-threaded builds of bevy.