From 1f7a1ee2b3a70a77669af4f854b4ef5e50363f02 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 27 Sep 2016 17:34:52 +0800 Subject: Expand lang - f32/f64 --- src/expand/lang_item.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp index 8e5bb350..390b50a9 100644 --- a/src/expand/lang_item.cpp +++ b/src/expand/lang_item.cpp @@ -148,11 +148,15 @@ public: // collections else if( name == "str" ) {} else if( name == "slice" ) {} + // std - interestingly + else if( name == "f32" ) {} + else if( name == "f64" ) {} else { ERROR(sp, E0000, "Unknown lang item '" << name << "' on impl"); } // TODO: Somehow annotate these impls to allow them to provide inherents? + // - mrustc is lazy and inefficient, so these don't matter :) } }; -- cgit v1.2.3