mirror of
https://github.com/actix/actix-web.git
synced 2024-11-20 08:31:09 +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 => (),
|
|
};
|
|
}
|