  clone_impl! { f64 }
  
  clone_impl! { () }
-diff -ru libcore/default.rs libcore_patched/default.rs
---- libcore/default.rs	2015-07-02 13:02:27.887621753 +0800
-+++ libcore_patched/default.rs	2015-07-02 13:02:04.784163432 +0800
+diff -rub libcore_orig/default.rs libcore/default.rs
+--- libcore_orig/default.rs	2015-09-22 19:09:25.166462033 +0800
++++ libcore/default.rs	2015-09-22 19:02:10.962704201 +0800
 @@ -153,5 +153,7 @@
  default_impl! { i32, 0 }
  default_impl! { i64, 0 }

 
 /// The `Div` trait is used to specify the functionality of `/`.
 ///
@@ -383,7 +371,8 @@
     )*)
 }
 
-div_impl_float! { f32 f64 }
+#[cfg(not(disable_float))]
+div_impl_float! { f32 f64 }
 
 /// The `Rem` trait is used to specify the functionality of `%`.
 ///
@@ -459,2 +466,3 @@
 #[cfg(not(stage0))]
+#[cfg(not(disable_float))]
 rem_impl_float! { f32 f64 }
@@ -566,7 +534,9 @@
 }
 
 // neg_impl_unsigned! { usize u8 u16 u32 u64 }

 default_impl! { f32, 0.0f32 }
+#[cfg(not(disable_float))]
 default_impl! { f64, 0.0f64 }
diff -rub libcore_orig/fmt/mod.rs libcore/fmt/mod.rs
--- libcore_orig/fmt/mod.rs	2015-09-22 19:09:25.170462066 +0800
+++ libcore/fmt/mod.rs	2015-09-22 19:02:10.962704201 +0800
@@ -17,6 +17,7 @@
 use cell::{Cell, RefCell, Ref, RefMut, BorrowState};
 use marker::PhantomData;
 use mem;
