
# Objective Fixes #15806 ## Solution Fix an undeclared module and expect `dead_code`. ## Testing Run this command and see no `dead_code` warnings. `cargo +nightly check --benches --target-dir ../target --manifest-path ./benches/Cargo.toml`
24 lines
538 B
Rust
24 lines
538 B
Rust
#![expect(dead_code, reason = "Many fields are unused/unread as they are just for benchmarking purposes.")]
|
|
|
|
use criterion::criterion_main;
|
|
|
|
mod components;
|
|
mod events;
|
|
mod fragmentation;
|
|
mod iteration;
|
|
mod observers;
|
|
mod param;
|
|
mod scheduling;
|
|
mod world;
|
|
|
|
criterion_main!(
|
|
components::components_benches,
|
|
events::event_benches,
|
|
iteration::iterations_benches,
|
|
fragmentation::fragmentation_benches,
|
|
observers::observer_benches,
|
|
scheduling::scheduling_benches,
|
|
world::world_benches,
|
|
param::param_benches,
|
|
);
|