mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +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 => (),
|
|
};
|
|
}
|