diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-27 17:34:52 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-27 17:34:52 +0800 |
commit | 1f7a1ee2b3a70a77669af4f854b4ef5e50363f02 (patch) | |
tree | 54cfb3288650781e690aa1dfbdb1667ba020b5cb /src/expand/lang_item.cpp | |
parent | 5af08604e03340657d3823fcd4eefe3d21f2fb30 (diff) | |
download | mrust-1f7a1ee2b3a70a77669af4f854b4ef5e50363f02.tar.gz |
Expand lang - f32/f64
Diffstat (limited to 'src/expand/lang_item.cpp')
-rw-r--r-- | src/expand/lang_item.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 :) } }; |