aboutsummaryrefslogtreecommitdiff
path: root/libcore/clone.rs
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-29 21:25:33 +0300
committerpravic <[email protected]>2016-04-29 21:25:33 +0300
commit8c8ef9d5b88377f345220e577ca78e1713b87539 (patch)
tree9bf7ae22e9e635b67734aeb14226d4ed9e0b58c0 /libcore/clone.rs
parentadd libcore from 2016-04-11 nightly (diff)
downloadkmd-env-rs-8c8ef9d5b88377f345220e577ca78e1713b87539.tar.xz
kmd-env-rs-8c8ef9d5b88377f345220e577ca78e1713b87539.zip
apply libcore_nofp patch
Diffstat (limited to 'libcore/clone.rs')
-rw-r--r--libcore/clone.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcore/clone.rs b/libcore/clone.rs
index a793502..6fb733f 100644
--- a/libcore/clone.rs
+++ b/libcore/clone.rs
@@ -105,7 +105,9 @@ clone_impl! { u16 }
clone_impl! { u32 }
clone_impl! { u64 }
+#[cfg(not(disable_float))]
clone_impl! { f32 }
+#[cfg(not(disable_float))]
clone_impl! { f64 }
clone_impl! { () }