oden/third-party/vendor/indexmap-1.9.3/build.rs
2024-03-08 11:03:01 -08:00

8 lines
291 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::rerun_path("build.rs");
}