Only enable benchmark when benchmarking, not as regular test

This commit is contained in:
Matthew Gordon 2019-12-31 22:14:24 -05:00
parent 1653174ef6
commit a785eb796f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ pub mod raycasting;
pub mod sampler; pub mod sampler;
pub mod scene; pub mod scene;
#[cfg(test)] #[cfg(bench)]
mod tests { mod tests {
use test::Bencher; use test::Bencher;