From 11d6d0259a5bcf76143c505479f9aa32686fcd76 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Wed, 22 May 2013 16:46:27 +1000 Subject: [PATCH] Use #[cfg(test)] instead of #[test]. --- src/lmath.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmath.rs b/src/lmath.rs index 09f5de4..d317b0e 100644 --- a/src/lmath.rs +++ b/src/lmath.rs @@ -18,7 +18,7 @@ pub mod vec; pub mod projection; -#[test] +#[cfg(test)] mod test { #[path = "test_mat.rs" ] mod mat; #[path = "test_quat.rs"] mod quat;