diff --git a/Cargo.toml b/Cargo.toml index 227d365..94bea04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,3 @@ license = "MIT OR Apache-2.0" name = "bare-metal" repository = "https://github.com/rust-embedded/bare-metal" version = "0.2.5" - -[build-dependencies] -rustc_version = "0.2.3" - -[features] -const-fn = [] # Unused, but kept for backwards compatibility diff --git a/build.rs b/build.rs deleted file mode 100644 index f197f20..0000000 --- a/build.rs +++ /dev/null @@ -1,9 +0,0 @@ -extern crate rustc_version; - -fn main() { - let vers = rustc_version::version().unwrap(); - - if vers.major == 1 && vers.minor < 31 { - println!("cargo:rustc-cfg=unstable_const_fn") - } -}