third_party_rust_nom/build.rs
Igor Gnatenko ed6274ac59 chore: Update version_check to 0.9
Also simplify build.rs.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2020-02-24 11:37:26 +01:00

8 lines
155 B
Rust

extern crate version_check;
fn main() {
if version_check::is_min_version("1.28.0").unwrap_or(true) {
println!("cargo:rustc-cfg=stable_i128");
}
}