Cargo Features

bevy_diagnostic has no features set by default.

[dependencies]
bevy_diagnostic = { version = "0.13.2", features = ["dynamic_linking"] }
dynamic_linking

Disables diagnostics that are unsupported when Bevy is dynamically linked