1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 08:07:18 +00:00
actix-web/build.rs

10 lines
202 B
Rust
Raw Normal View History

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