diff options
author | Alex Crichton <alex@alexcrichton.com> | 2017-02-01 15:57:50 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-03 13:25:46 -0800 |
commit | 626e754473da96a670c917b9cbefd1c1ea888a9c (patch) | |
tree | ebaf4b7ee697f6bf5e28952884779c031ec5b7c6 /src/libserialize/serialize.rs | |
parent | 5de2a24b2ebfa42db8eadab911a107b4a67fabdb (diff) | |
download | rust-626e754473da96a670c917b9cbefd1c1ea888a9c.tar.gz |
Bump version, upgrade bootstrap
This commit updates the version number to 1.17.0 as we're not on that version of
the nightly compiler, and at the same time this updates src/stage0.txt to
bootstrap from freshly minted beta compiler and beta Cargo.
Diffstat (limited to 'src/libserialize/serialize.rs')
-rw-r--r-- | src/libserialize/serialize.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libserialize/serialize.rs b/src/libserialize/serialize.rs index 395f2ccbe6d..ba39fcdec6f 100644 --- a/src/libserialize/serialize.rs +++ b/src/libserialize/serialize.rs @@ -20,7 +20,6 @@ use std::path; use std::rc::Rc; use std::cell::{Cell, RefCell}; use std::sync::Arc; -use rustc_i128::{i128, u128}; pub trait Encoder { type Error; @@ -333,14 +332,12 @@ impl Decodable for u64 { } } -#[cfg(not(stage0))] impl Encodable for u128 { fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error> { s.emit_u128(*self) } } -#[cfg(not(stage0))] impl Decodable for u128 { fn decode<D: Decoder>(d: &mut D) -> Result<u128, D::Error> { d.read_u128() @@ -407,14 +404,12 @@ impl Decodable for i64 { } } -#[cfg(not(stage0))] impl Encodable for i128 { fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error> { s.emit_i128(*self) } } -#[cfg(not(stage0))] impl Decodable for i128 { fn decode<D: Decoder>(d: &mut D) -> Result<i128, D::Error> { d.read_i128() |