summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-27 17:34:52 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-27 17:34:52 +0800
commit1f7a1ee2b3a70a77669af4f854b4ef5e50363f02 (patch)
tree54cfb3288650781e690aa1dfbdb1667ba020b5cb /src
parent5af08604e03340657d3823fcd4eefe3d21f2fb30 (diff)
downloadmrust-1f7a1ee2b3a70a77669af4f854b4ef5e50363f02.tar.gz
Expand lang - f32/f64
Diffstat (limited to 'src')
-rw-r--r--src/expand/lang_item.cpp4
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 :)
}
};