From 6937947a4a8640a86650a3748a15540353cdcfee Mon Sep 17 00:00:00 2001 From: Hyeon Kim Date: Thu, 12 Feb 2015 00:36:29 +0900 Subject: [PATCH 1/2] Rust version up Fixes compile error --- src/cgmath.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cgmath.rs b/src/cgmath.rs index 493cc7b..300e4bf 100644 --- a/src/cgmath.rs +++ b/src/cgmath.rs @@ -16,6 +16,7 @@ #![crate_type = "rlib"] #![crate_type = "dylib"] #![feature(old_impl_check, plugin, core, std_misc)] +#![plugin(rand_macros)] //! Computer graphics-centric math. //! @@ -33,9 +34,6 @@ extern crate "rustc-serialize" as rustc_serialize; extern crate rand; -#[plugin] -#[no_link] -extern crate rand_macros; // Re-exports From f4b678288529994e2c7f1a4bae44f69f48b938ed Mon Sep 17 00:00:00 2001 From: Hyeon Kim Date: Thu, 12 Feb 2015 01:02:09 +0900 Subject: [PATCH 2/2] Suppress warnings: feature(hash) --- src/cgmath.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgmath.rs b/src/cgmath.rs index 300e4bf..b7df0d7 100644 --- a/src/cgmath.rs +++ b/src/cgmath.rs @@ -15,7 +15,7 @@ #![crate_type = "rlib"] #![crate_type = "dylib"] -#![feature(old_impl_check, plugin, core, std_misc)] +#![feature(old_impl_check, plugin, core, hash, std_misc)] #![plugin(rand_macros)] //! Computer graphics-centric math.