1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00
actix-web/build.rs

10 lines
202 B
Rust
Raw Normal View History

2017-11-24 19:28:43 +01:00
extern crate version_check;
2017-10-26 15:12:23 +02:00
fn main() {
2017-11-24 19:28:43 +01:00
match version_check::is_nightly() {
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),
Some(false) => (),
None => (),
};
2017-10-26 15:12:23 +02:00
}