Make build and test work with stable rust (nightly needed for benchmarks)

This commit is contained in:
Matthew Gordon 2020-01-10 16:16:27 -05:00
parent 4ee7338711
commit 5e0e2bad06
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,3 @@
#![feature(test)]
extern crate test;
pub mod algebra_utils;
pub mod camera;
pub mod colour;
@ -14,6 +11,7 @@ pub mod scene;
#[cfg(bench)]
mod tests {
extern crate test;
use test::Bencher;
use super::camera::render_scene;