mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 06:42:23 +00:00
10 lines
337 B
Rust
10 lines
337 B
Rust
fn main() {
|
|
// If "std" is explicitly requested, don't bother probing the target for it.
|
|
match std::env::var_os("CARGO_FEATURE_STD") {
|
|
Some(_) => autocfg::emit("has_std"),
|
|
None => autocfg::new().emit_sysroot_crate("std"),
|
|
}
|
|
autocfg::new().emit_rustc_version(1, 51);
|
|
autocfg::rerun_path("build.rs");
|
|
}
|