From 9a49bb589593ad972a2030602e7b1a7aed752132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sat, 22 Feb 2014 09:09:04 +0100 Subject: [PATCH] Update to the last Rust. Version of rustc: 0.10-pre (698042d 2014-02-21 21:26:49 -0800) --- src/bench/mat.rs | 2 +- src/bench/vec.rs | 2 +- src/lib.rs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/bench/mat.rs b/src/bench/mat.rs index 7f0ff5fb..ec782c99 100644 --- a/src/bench/mat.rs +++ b/src/bench/mat.rs @@ -1,5 +1,5 @@ use std::rand::random; -use extra::test::BenchHarness; +use test::BenchHarness; use na::{Vec2, Vec3, Vec4, Vec5, Vec6, DVec, Mat2, Mat3, Mat4, Mat5, Mat6, DMat}; macro_rules! bench_mul_mat( diff --git a/src/bench/vec.rs b/src/bench/vec.rs index d08081ca..c4833fda 100644 --- a/src/bench/vec.rs +++ b/src/bench/vec.rs @@ -1,5 +1,5 @@ use std::rand::random; -use extra::test::BenchHarness; +use test::BenchHarness; use na::{Vec2, Vec3, Vec4, Vec5, Vec6}; use na; diff --git a/src/lib.rs b/src/lib.rs index 4a102114..854ab5b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -113,6 +113,9 @@ extern crate std; extern crate extra; extern crate serialize; +#[cfg(test)] +extern crate test; + pub mod na; mod structs; mod traits;