mirror of
https://github.com/actix/actix-web.git
synced 2024-11-29 21:11:17 +00:00
9 lines
202 B
Rust
9 lines
202 B
Rust
extern crate version_check;
|
|
|
|
fn main() {
|
|
match version_check::is_nightly() {
|
|
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),
|
|
Some(false) => (),
|
|
None => (),
|
|
};
|
|
}
|