Only enable benchmark when benchmarking, not as regular test
This commit is contained in:
parent
1653174ef6
commit
a785eb796f
|
|
@ -12,7 +12,7 @@ pub mod raycasting;
|
|||
pub mod sampler;
|
||||
pub mod scene;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(bench)]
|
||||
mod tests {
|
||||
use test::Bencher;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue