From a8a54c05681168d09dbdbb4212c31a142c3cdae4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 11 Nov 2018 12:13:05 -0800 Subject: [PATCH] Remove 1.26-dev docs.rs workaround They are now building with 1.31.0-nightly. --- serde/build.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/serde/build.rs b/serde/build.rs index 3bbdbd71..c616d181 100644 --- a/serde/build.rs +++ b/serde/build.rs @@ -71,11 +71,6 @@ fn rustc_minor_version() -> Option { Err(_) => return None, }; - // Temporary workaround to support the old 1.26-dev compiler on docs.rs. - if version.contains("0eb87c9bf") { - return Some(25); - } - let mut pieces = version.split('.'); if pieces.next() != Some("rustc 1") { return None;