summaryrefslogtreecommitdiffstats
path: root/vendor/indexmap/build.rs
blob: 9f9fa054f8c11a3240431846bf41fe74a209dc0a (plain)
1
2
3
4
5
6
7
8
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");
}