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 sampler;
|
||||||
pub mod scene;
|
pub mod scene;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(bench)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue