Skip to content

Commit

Permalink
Add missing build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Jul 26, 2018
1 parent 80e945f commit 2688e8a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.rs
@@ -0,0 +1,8 @@
extern crate rustc_version;
use rustc_version::{version, Version};

fn main() {
if version().unwrap() >= Version::parse("1.27.0").unwrap() {
println!("cargo:rustc-cfg=rust_1_27");
}
}

0 comments on commit 2688e8a

Please sign in to comment.