From 3d308fe65b5aa653b482341a04f301b02f263c3b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 24 Jun 2014 16:34:46 -0700 Subject: Remove the quad_precision_float feature gate The f128 type has very little support in the compiler and the feature is basically unusable today. Supporting half-baked features in the compiler can be detrimental to the long-term development of the compiler, and hence this feature is being removed. --- src/libdebug/lib.rs | 2 +- src/libdebug/reflect.rs | 7 ------- src/libdebug/repr.rs | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/libdebug') diff --git a/src/libdebug/lib.rs b/src/libdebug/lib.rs index 5056c40a2de..b5afb3381ad 100644 --- a/src/libdebug/lib.rs +++ b/src/libdebug/lib.rs @@ -25,7 +25,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/")] #![experimental] -#![feature(managed_boxes, macro_rules, quad_precision_float)] +#![feature(managed_boxes, macro_rules)] #![allow(experimental)] pub mod fmt; diff --git a/src/libdebug/reflect.rs b/src/libdebug/reflect.rs index f281161113f..280e8753b34 100644 --- a/src/libdebug/reflect.rs +++ b/src/libdebug/reflect.rs @@ -179,13 +179,6 @@ impl TyVisitor for MovePtrAdaptor { true } - fn visit_f128(&mut self) -> bool { - self.align_to::(); - if ! self.inner.visit_f128() { return false; } - self.bump_past::(); - true - } - fn visit_char(&mut self) -> bool { self.align_to::(); if ! self.inner.visit_char() { return false; } diff --git a/src/libdebug/repr.rs b/src/libdebug/repr.rs index 4744d92436f..6562e2fb6e3 100644 --- a/src/libdebug/repr.rs +++ b/src/libdebug/repr.rs @@ -258,7 +258,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> { fn visit_f32(&mut self) -> bool { self.write::() } fn visit_f64(&mut self) -> bool { self.write::() } - fn visit_f128(&mut self) -> bool { fail!("not implemented") } fn visit_char(&mut self) -> bool { self.get::(|this, &ch| { -- cgit 1.4.1-3-g733a5