Make build and test work with stable rust (nightly needed for benchmarks)
This commit is contained in:
parent
4ee7338711
commit
5e0e2bad06
|
|
@ -1,6 +1,3 @@
|
||||||
#![feature(test)]
|
|
||||||
extern crate test;
|
|
||||||
|
|
||||||
pub mod algebra_utils;
|
pub mod algebra_utils;
|
||||||
pub mod camera;
|
pub mod camera;
|
||||||
pub mod colour;
|
pub mod colour;
|
||||||
|
|
@ -14,6 +11,7 @@ pub mod scene;
|
||||||
|
|
||||||
#[cfg(bench)]
|
#[cfg(bench)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
extern crate test;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
|
||||||
use super::camera::render_scene;
|
use super::camera::render_scene;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue