diff options
| author | bors <bors@rust-lang.org> | 2014-06-25 04:31:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-25 04:31:19 +0000 |
| commit | 7a93beef7f692b34168ad69633f56483d38ad8fc (patch) | |
| tree | e99530b6eed86ae92bd76f9b0d092ff82763f388 /src/libdebug | |
| parent | 91be86af0952aebb1f7c1811a6abcccd7bd1c26e (diff) | |
| parent | 3d308fe65b5aa653b482341a04f301b02f263c3b (diff) | |
| download | rust-7a93beef7f692b34168ad69633f56483d38ad8fc.tar.gz rust-7a93beef7f692b34168ad69633f56483d38ad8fc.zip | |
auto merge of #15160 : alexcrichton/rust/remove-f128, r=brson
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.
Diffstat (limited to 'src/libdebug')
| -rw-r--r-- | src/libdebug/lib.rs | 2 | ||||
| -rw-r--r-- | src/libdebug/reflect.rs | 7 | ||||
| -rw-r--r-- | src/libdebug/repr.rs | 1 |
3 files changed, 1 insertions, 9 deletions
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<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> { true } - fn visit_f128(&mut self) -> bool { - self.align_to::<f128>(); - if ! self.inner.visit_f128() { return false; } - self.bump_past::<f128>(); - true - } - fn visit_char(&mut self) -> bool { self.align_to::<char>(); 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::<f32>() } fn visit_f64(&mut self) -> bool { self.write::<f64>() } - fn visit_f128(&mut self) -> bool { fail!("not implemented") } fn visit_char(&mut self) -> bool { self.get::<char>(|this, &ch| { |
