From e5c131e0c1ac97a30f6e5027bc195bb06eea775d Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Thu, 18 Jan 2018 17:45:39 +0100 Subject: [PATCH] removed old, unused build.rs (#7614) --- Cargo.toml | 1 - build.rs | 35 ----------------------------------- 2 files changed, 36 deletions(-) delete mode 100644 build.rs diff --git a/Cargo.toml b/Cargo.toml index ccaed878b..862e7c7b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ name = "parity" version = "1.10.0" license = "GPL-3.0" authors = ["Parity Technologies "] -build = "build.rs" [dependencies] log = "0.3" diff --git a/build.rs b/build.rs deleted file mode 100644 index 0deeff37e..000000000 --- a/build.rs +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2015-2017 Parity Technologies (UK) Ltd. -// This file is part of Parity. - -// Parity is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// Parity is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with Parity. If not, see . - -extern crate rustc_version; - -const MIN_RUSTC_VERSION: &'static str = "1.15.1"; - -fn main() { - let is = rustc_version::version().unwrap(); - let required = MIN_RUSTC_VERSION.parse().unwrap(); - assert!(is >= required, format!(" - -It looks like you are compiling Parity with an old rustc compiler {}. -Parity requires version {}. Please update your compiler. -If you use rustup, try this: - - rustup update stable - -and try building Parity again. - -", is, required)); -}