mirror of
https://github.com/actix/actix-web.git
synced 2024-12-18 14:16:47 +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 => (),
|
|
};
|
|
}
|