mirror of
https://github.com/actix/actix-web.git
synced 2024-11-14 04:41:15 +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 => (),
|
|
};
|
|
}
|